diff options
| author | Devang Patel <dpatel@apple.com> | 2010-01-15 00:26:31 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-01-15 00:26:31 +0000 |
| commit | 2108ee075f910cb41b370fa041ef01b9adf8530c (patch) | |
| tree | 3accb8eeb58ffd83d3c3bb62991bb900cb7953a4 /llvm/lib/CodeGen | |
| parent | 029fbd984be0f7a9b7b99a65744580801f419389 (diff) | |
| download | bcm5719-llvm-2108ee075f910cb41b370fa041ef01b9adf8530c.tar.gz bcm5719-llvm-2108ee075f910cb41b370fa041ef01b9adf8530c.zip | |
Do not emit multiple AT_container_type attributes.
We need to find a better way to emit this info.
llvm-svn: 93481
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 1ef3befe0bc..af8366afabe 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1813,7 +1813,8 @@ void DwarfDebug::endModule() { DIE *NDie = ModuleCU->getDIE(N); if (!NDie) continue; addDIEEntry(SPDie, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4, NDie); - addDIEEntry(NDie, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4, NDie); + // FIXME - This is not the correct approach. + // addDIEEntry(NDie, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4, NDie); } // Standard sections final addresses. |

