summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorSanne Wouda <sanne.wouda@arm.com>2017-02-13 14:07:45 +0000
committerSanne Wouda <sanne.wouda@arm.com>2017-02-13 14:07:45 +0000
commit490d4a6da6abf2d97c466ff2a160b5051336060a (patch)
treeeecefa3d9311013b18f8b0ce3bbde75c1d5665a9 /clang/lib/CodeGen/BackendUtil.cpp
parent92497542e7063d29aafdef9f04295c5d13a04af8 (diff)
downloadbcm5719-llvm-490d4a6da6abf2d97c466ff2a160b5051336060a.tar.gz
bcm5719-llvm-490d4a6da6abf2d97c466ff2a160b5051336060a.zip
[CodeGen] fix alignment of JUMPTABLE_INSTS on v8M.base
Summary: The attached test case fails with "fatal error: error in backend: misaligned pc-relative fixup value" as the jump table is misaligned. The EmitAlignment existed already for ARM and Thumb-1 code, but was missing for Thumb-2. The test checks that the fatal error disappears when generating an obj file, as well as checking the align directive is there when producing an asm file. Reviewers: rengolin, grosbach, t.p.northover, jmolloy, SjoerdMeijer, samparker Reviewed By: samparker Subscribers: samparker, aemerson, llvm-commits Differential Revision: https://reviews.llvm.org/D29650 llvm-svn: 294950
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud