1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix global variable's address in a DIE.

llvm-svn: 62596
This commit is contained in:
Devang Patel 2009-01-20 18:55:39 +00:00
parent 7f6ef3bdd6
commit 10f2f03c68

View File

@ -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.