OSDN Git Service

Turn on pubnames by default on linux.
authorEric Christopher <echristo@gmail.com>
Mon, 19 Aug 2013 21:07:38 +0000 (21:07 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 19 Aug 2013 21:07:38 +0000 (21:07 +0000)
commitf04e4efcaa02012b7943b44c61b321a0fb5e1a72
tree84c5f9f8b0d58d028253f6d04ee872297695f183
parentf1070a0b860d0d05a578b27f8a226732c7a1dfb9
Turn on pubnames by default on linux.

Until gdb supports the new accelerator tables we should add the
pubnames section so that gdb_index can be generated from gold
at link time. On darwin we already emit the accelerator tables
and so don't need to worry about pubnames.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188708 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
test/DebugInfo/X86/dwarf-public-names.ll [new file with mode: 0644]
test/DebugInfo/dwarf-public-names.ll