diff options
author | Eli Friedman <efriedma@quicinc.com> | 2022-06-10 13:37:49 -0700 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2022-06-10 13:37:49 -0700 |
commit | 0ff51d5dde29dfd9bc5064e32d47345bab7a5034 (patch) | |
tree | 6b903bacab5025406aaad1a4704d40095456cbde /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | fbaa8b9ae5f3c6637be7d4dae6adaab4be811625 (diff) | |
download | llvm-0ff51d5dde29dfd9bc5064e32d47345bab7a5034.zip llvm-0ff51d5dde29dfd9bc5064e32d47345bab7a5034.tar.gz llvm-0ff51d5dde29dfd9bc5064e32d47345bab7a5034.tar.bz2 |
Fix interaction of CFI instructions with MachineOutliner.
1. When checking if a candidate contains a CFI instruction, actually
iterate over all of the instructions, instead of stopping halfway
through.
2. Make sure copied CFI directives refer to the correct instruction.
Fixes https://github.com/llvm/llvm-project/issues/55842
Differential Revision: https://reviews.llvm.org/D126930
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions