diff options
| author | Devang Patel <dpatel@apple.com> | 2009-01-20 18:55:39 +0000 | 
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2009-01-20 18:55:39 +0000 | 
| commit | 6befc4d34e73d1a225769b3b603607ebf791e5b5 (patch) | |
| tree | 537cb2740f2abca19093b73cdf67111db8f57a43 /llvm/lib/CodeGen | |
| parent | f0dae1aae306556a6d97695535693ff6cea6519d (diff) | |
| download | bcm5719-llvm-6befc4d34e73d1a225769b3b603607ebf791e5b5.tar.gz bcm5719-llvm-6befc4d34e73d1a225769b3b603607ebf791e5b5.zip | |
Fix global variable's address in a DIE.
llvm-svn: 62596
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index fa05c682504..88d8be10985 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -2791,7 +2791,7 @@ private:        DIEBlock *Block = new DIEBlock();        AddUInt(Block, 0, DW_FORM_data1, DW_OP_addr);        AddObjectLabel(Block, 0, DW_FORM_udata, -                     Asm->getGlobalLinkName(DI_GV.getGV())); +                     Asm->getGlobalLinkName(DI_GV.getGlobal()));        AddBlock(VariableDie, DW_AT_location, 0, Block);        //Add to map. | 

