diff options
author | Fangrui Song <i@maskray.me> | 2023-06-26 14:26:06 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-06-26 14:26:06 -0700 |
commit | 0b0672773e8b2ed01ad3fce103f4d84becfdd1ed (patch) | |
tree | 685755d0352da10fd86274a3f5e2485a0de41802 /llvm/docs/CommandGuide | |
parent | 5a1cdcbd8698cd263696b38e2672fccac9ec793c (diff) | |
download | llvm-0b0672773e8b2ed01ad3fce103f4d84becfdd1ed.zip llvm-0b0672773e8b2ed01ad3fce103f4d84becfdd1ed.tar.gz llvm-0b0672773e8b2ed01ad3fce103f4d84becfdd1ed.tar.bz2 |
[MC] Reject CFI advance_loc separated by a non-private label for Mach-O
Due to Mach-O's .subsections_via_symbols mechanism, non-private labels cannot
appear between .cfi_startproc/.cfi_endproc. Compilers do not produce such
labels, but hand-written assembly may. Give an error. Unfortunately,
emitDwarfAdvanceFrameAddr generated MCExpr doesn't have location
informatin.
Note: evaluateKnownAbsolute is to force folding A-B to a constant even if A and
B are separate by a non-private label. The function is a workaround for some
Mach-O assembler issues and should generally be avoided.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D153167
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions