Make sure we emit a section for pubnames even if that section is
authorEric Christopher <echristo@gmail.com>
Thu, 3 Oct 2013 17:41:20 +0000 (17:41 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 3 Oct 2013 17:41:20 +0000 (17:41 +0000)
commit45fae28db7ccc4f9d40f4b4d3fb35676826dfdc0
tree8e6eb505c1698d497847a994ccaad18f70edb608
parent7c9fc90c75a2b7cf18dd725484aba0af55b44b33
Make sure we emit a section for pubnames even if that section is
going to be empty. This is particularly important for the gnu
pubnames case since we're emitting a relocation to the section.

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