[PATCH] Fix bug 19437 - Only add discriminators for DWARF 4 and above.

Diego Novillo dnovillo at google.com
Thu Apr 17 10:56:18 PDT 2014


Hi echristo, dblaikie,

This prevents the discriminator generation pass from triggering if
the DWARF version being used in the module is prior to 4.

Note: The test case for this is in Clang, as this is only triggered
      during Clang's code generation.

http://reviews.llvm.org/D3413

Files:
  include/llvm/Support/Dwarf.h
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/Support/Dwarf.cpp
  lib/Transforms/Utils/AddDiscriminators.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3413.1.patch
Type: text/x-patch
Size: 3231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140417/117faf7c/attachment.bin>


More information about the llvm-commits mailing list