summaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86/generate-odr-hash.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-07-27 11:58:26 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-07-27 11:58:26 +0000
commit214de30d9d3739bb384188720aa6c389edcf89dc (patch)
tree8412ddd89596426979dd5f9475bd3dc06468f3dc /test/DebugInfo/X86/generate-odr-hash.ll
parent6c54b3dfb4ac80418a9e9ee11e5cc1702e9694e6 (diff)
downloadllvm-214de30d9d3739bb384188720aa6c389edcf89dc.tar.gz
llvm-214de30d9d3739bb384188720aa6c389edcf89dc.tar.bz2
llvm-214de30d9d3739bb384188720aa6c389edcf89dc.tar.xz
Create a constant pool symbol for the GOT in the ARMCGBR the same way we
do in the SDag when lowering references to the GOT: use ARMConstantPoolSymbol rather than creating a dummy global variable. The computation of the alignment still feels weird (it uses IR types and datalayout) but it preserves the exact previous behavior. This change fixes the memory leak of the global variable detected on the valgrind leak checking bot. Thanks to Benjamin Kramer for pointing me at ARMConstantPoolSymbol to handle this use case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/generate-odr-hash.ll')
0 files changed, 0 insertions, 0 deletions