diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2008-07-30 16:32:24 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2008-07-30 16:32:24 +0000 |
| commit | e49df9b58fa98543c487e016a3d7771647b54ff4 (patch) | |
| tree | 1d477a5d3a44c92044836b23146c7b7bb020862a /llvm/lib/Target/Mips/MipsSubtarget.h | |
| parent | be31571ca5f520e20d2f08165be3545a1c811a8d (diff) | |
| download | bcm5719-llvm-e49df9b58fa98543c487e016a3d7771647b54ff4.tar.gz bcm5719-llvm-e49df9b58fa98543c487e016a3d7771647b54ff4.zip | |
Change CodeGenModule GlobalDeclMap to directly reference globals
instead of mapping the decl to a bitcast of the global to the correct
type.
- GetAddrOf{Function,GlobalVar} introduce the bitcast on every use now.
- This solves a problem where a dangling pointer could be introduced
by the RAUW done when replacing a forward or tentative
definition. See testcase for more details.
- Fixes <rdar://problem/6108358>
llvm-svn: 54211
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSubtarget.h')
0 files changed, 0 insertions, 0 deletions

