diff options
| author | Eric Christopher <echristo@apple.com> | 2012-08-23 07:10:56 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2012-08-23 07:10:56 +0000 |
| commit | 77826182714de3d37f22058d54c6c635330cde72 (patch) | |
| tree | 2dc8b0a003706fc6b24d2a76f5b299842626faba /llvm/lib/CodeGen | |
| parent | 6cb559497987c904c4385008448b3424fb4b57f6 (diff) | |
| download | bcm5719-llvm-77826182714de3d37f22058d54c6c635330cde72.tar.gz bcm5719-llvm-77826182714de3d37f22058d54c6c635330cde72.zip | |
Emit pubtypes only when going for darwin gdb compatibility.
rdar://10393214
llvm-svn: 162434
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 02d86c7ad25..944c2027ee4 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -832,7 +832,10 @@ void DwarfDebug::endModule() { } // Emit info into a debug pubtypes section. - emitDebugPubTypes(); + // TODO: When we don't need the option anymore we can + // remove all of the code that adds to the table. + if (DarwinGDBCompat) + emitDebugPubTypes(); // Emit info into a debug loc section. emitDebugLoc(); |

