[PATCH] Emit DWARF info for all code section in an assembly file

Renato Golin renato.golin at linaro.org
Thu Feb 13 05:51:31 PST 2014



================
Comment at: tools/llvm-mc/llvm-mc.cpp:412
@@ -398,1 +411,3 @@
+  if (DwarfVersion4)
+    Ctx.setDwarfVersion(4);
   if (!DwarfDebugFlags.empty())
----------------
This will give preference to Dwarf 4 irrespective of how many other flags are in the command line, even if they're after the -gdwarf-4.


http://llvm-reviews.chandlerc.com/D2697



More information about the llvm-commits mailing list