diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-10-02 22:15:31 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-10-02 22:15:31 +0000 |
| commit | 786cd049fc467bfaf85021b4fcfb19bbf134329b (patch) | |
| tree | 55f7a8b314704fe5d4b3a947b22b6009c1a23ded /llvm/lib/CodeGen/AsmPrinter | |
| parent | 834c265e85e4ee433cd9089e907bf6bccdb25313 (diff) | |
| download | bcm5719-llvm-786cd049fc467bfaf85021b4fcfb19bbf134329b.tar.gz bcm5719-llvm-786cd049fc467bfaf85021b4fcfb19bbf134329b.zip | |
Revert "DI: Fold constant arguments into a single MDString"
This reverts commit r218914 while I investigate some bots.
llvm-svn: 218918
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index 902dafa6f46..b19b576cdf3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -1713,7 +1713,7 @@ DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE(DIGlobalVariable GV) { // it is not a static member. if (!IsStaticMember) addConstantValue(*VariableDIE, CI, GTy); - } else if (const ConstantExpr *CE = getMergedGlobalExpr(GV.getConstant())) { + } else if (const ConstantExpr *CE = getMergedGlobalExpr(GV->getOperand(11))) { addToAccelTable = true; // GV is a merged global. DIELoc *Loc = new (DIEValueAllocator) DIELoc(); |

