summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstSimplify/shift-knownbits.ll
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2017-05-07 17:19:53 +0000
committerLang Hames <lhames@gmail.com>2017-05-07 17:19:53 +0000
commitff41150ddb5a722c6e614e31f89e8fa52e2f7595 (patch)
tree11293cfeff37f5cf39c570c2f2ea2cfd88e8ebd5 /llvm/test/Transforms/InstSimplify/shift-knownbits.ll
parent252682a41bcb7d3c100aaf2f2fb21c7895714773 (diff)
downloadbcm5719-llvm-ff41150ddb5a722c6e614e31f89e8fa52e2f7595.tar.gz
bcm5719-llvm-ff41150ddb5a722c6e614e31f89e8fa52e2f7595.zip
Make llvm-rtdlyd -check preserve automatic address mappings made by RuntimeDyld.
Currently llvm-rtdyld in -check mode will map sections to back-to-back 4k aligned slabs starting at 0x1000. Automatically remapping sections by default is helpful because it quickly exposes relocation bugs due to use of local addresses rather than load addresses (these would silently pass if the load address was not remapped). These mappings can be explicitly overridden on a per-section basis using llvm-rtdlyd's -map-section option. This patch extends this scheme to also preserve any mappings made by RuntimeDyld itself. Preserving RuntimeDyld's automatic mappings allows us to write test cases to verify that these automatic mappings have been applied. This will allow the fix in https://reviews.llvm.org/D32899 to be tested with llvm-rtdyld -check. llvm-svn: 302372
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/shift-knownbits.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud