summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-03-01 01:44:33 +0000
committerLang Hames <lhames@gmail.com>2018-03-01 01:44:33 +0000
commit811343cfd8bb8dfbd4756bed3f3ecda2cf407fad (patch)
tree5cb71a39185b907294a2c6a15ba93761e5cef5e8 /llvm/test/ExecutionEngine
parent4579bad86c68e664282618339cd2ea1ae17686ad (diff)
downloadbcm5719-llvm-811343cfd8bb8dfbd4756bed3f3ecda2cf407fad.tar.gz
bcm5719-llvm-811343cfd8bb8dfbd4756bed3f3ecda2cf407fad.zip
[RuntimeDyld][MachO] Fix assertion in encodeAddend, add missing directive to
test case. r326290 fixed the assertion for decodeAddend, but not encodeAddend. The regression test failed to catch this because it was missing the subsections_via_symbols flag, so the desired relocation was not applied. This patch also fixes the formatting of the assertion from r326290. llvm-svn: 326406
Diffstat (limited to 'llvm/test/ExecutionEngine')
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s b/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s
index 49928dd9d8e..64c4a6dce88 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s
@@ -90,3 +90,5 @@ _ptr:
# rtdyld-check: *{8}_subtractor_result = _test_branch_reloc - _foo
_subtractor_result:
.quad _test_branch_reloc - _foo
+
+.subsections_via_symbols \ No newline at end of file
OpenPOWER on IntegriCloud