================
@@ -593,6 +594,8 @@ static bool ExecuteAssemblerImpl(AssemblerInvocation &Opts,
     Triple T(Opts.Triple);
     Str.reset(TheTarget->createMCObjectStreamer(
         T, Ctx, std::move(MAB), std::move(OW), std::move(CE), *STI));
+    if (T.isLFI())
+      initializeLFIMCStreamer(*Str.get(), Ctx, T);
----------------
aengelke wrote:

If we emit textual asm, the assembler will add the note section when creating 
the object file? IMO, the goal should be that `llc -filetype=asm | llvm-mc 
-filetype=obj` and `llc -filetype=obj` should result in identical output, which 
they wouldn't if both steps add a note section?

https://github.com/llvm/llvm-project/pull/172906
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to