diff options
| author | Eric Christopher <echristo@gmail.com> | 2013-08-30 00:40:17 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2013-08-30 00:40:17 +0000 |
| commit | 4b358188c608c26df1f8e6c7406fea4cb43d9f34 (patch) | |
| tree | 0574798495a6e8d92c4576e771716088d31b8cc0 /llvm/lib/CodeGen | |
| parent | ac8199bf608af1e233087bf9e2e8c981f1939fbf (diff) | |
| download | bcm5719-llvm-4b358188c608c26df1f8e6c7406fea4cb43d9f34.tar.gz bcm5719-llvm-4b358188c608c26df1f8e6c7406fea4cb43d9f34.zip | |
Don't bother emitting the pubtypes section on darwin since there aren't
any maintained consumers of it on that platform.
llvm-svn: 189631
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 86f17862718..b1a75fba6ca 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1111,15 +1111,11 @@ void DwarfDebug::endModule() { emitAccelTypes(); } - // Emit info into a debug pubnames section, if requested. - if (HasDwarfPubSections) + // Emit the pubnames and pubtypes sections if requested. + if (HasDwarfPubSections) { emitDebugPubnames(); - - // Emit info into a debug pubtypes section. - // TODO: When we don't need the option anymore we can - // remove all of the code that adds to the table. - if (useDarwinGDBCompat() || HasDwarfPubSections) emitDebugPubTypes(); + } // Finally emit string information into a string table. emitDebugStr(); |

