summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
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
commit26ad41ed6e2e0aa0dab8b44c01487e36fb711680 (patch)
tree91fdf38ffaaeaba347a78237e6851180c1b7a5fb /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent1c82d3310ec7e0e326fd56391e1920625dc5c277 (diff)
downloadbcm5719-llvm-26ad41ed6e2e0aa0dab8b44c01487e36fb711680.tar.gz
bcm5719-llvm-26ad41ed6e2e0aa0dab8b44c01487e36fb711680.zip
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. llvm-svn: 187303
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud