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:
parent
7f6ef3bdd6
commit
10f2f03c68
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user