aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Utils.cpp
diff options
context:
space:
mode:
authorRahman Lavaee <rahmanl@google.com>2020-10-07 13:21:20 -0700
committerRahman Lavaee <rahmanl@google.com>2020-10-07 13:22:38 -0700
commit34cd06a9b3bddaa7a989c606bbf1327ee651711c (patch)
tree23293558e81912c0ea16f36fd17e06b1b477154f /llvm/lib/Transforms/Utils/Utils.cpp
parent365ef499d6005d5842d5e87f9dafe63c2508c881 (diff)
downloadllvm-34cd06a9b3bddaa7a989c606bbf1327ee651711c.zip
llvm-34cd06a9b3bddaa7a989c606bbf1327ee651711c.tar.gz
llvm-34cd06a9b3bddaa7a989c606bbf1327ee651711c.tar.bz2
[BasicBlockSections] Make sure that the labels for address-taken blocks are emitted after switching the seciton.
Currently, AsmPrinter code is organized in a way in which the labels of address-taken blocks are emitted in the previous section, which makes the relocation incorrect. This patch reorganizes the code to switch to the basic block section before handling address-taken blocks. Reviewed By: snehasish, MaskRay Differential Revision: https://reviews.llvm.org/D88517
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions