diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-09-13 04:55:08 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-09-13 04:55:08 +0000 |
| commit | aaa72c547bfd621fdbd63f631777b92bc3b1442c (patch) | |
| tree | e75f8de8119f974f18cb08859d56fa7b4de634b3 /clang/unittests/Format/FormatTest.cpp | |
| parent | b2724d9af8057ed60182385caa64d4c44e949b79 (diff) | |
| download | bcm5719-llvm-aaa72c547bfd621fdbd63f631777b92bc3b1442c.tar.gz bcm5719-llvm-aaa72c547bfd621fdbd63f631777b92bc3b1442c.zip | |
ARM: correct the relocation type for `bl` on WoA
The `IMAGE_REL_ARM_BRANCH20T` applies only to a `b.w` instruction. A
thumb-2 `bl` should be relocated using a `IMAGE_REL_ARM_BRANCH24T`.
Correct the relocation that we emit in such a case.
Resolves PR38620! Based on the patch by Jordan Rhee!
llvm-svn: 342109
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions

