aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2025-07-16 10:43:09 +0100
committerGitHub <noreply@github.com>2025-07-16 10:43:09 +0100
commit653872f782e1faaabc1da23769e6b35b10e74bde (patch)
treeaef270a85250499c2ccb6337adf671d9e3697cb9 /llvm/lib/CodeGen/StackProtector.cpp
parent60579ec3059b2b6cc9dad90eaac1ed363fc395a7 (diff)
downloadllvm-653872f782e1faaabc1da23769e6b35b10e74bde.zip
llvm-653872f782e1faaabc1da23769e6b35b10e74bde.tar.gz
llvm-653872f782e1faaabc1da23769e6b35b10e74bde.tar.bz2
[KeyInstr] Fix verifier check (#149043)
The verifier check was in the wrong place, meaning it wasn't actually checking many instructions. Fixing that causes a test failure (coro-dwarf-key-instrs.cpp) because coros turn off the feature but still annotate instructions with the metadata (which is a supported situation, but the verifier doesn't like it, and it's hard to teach the verifier to like it). Fix that by avoiding emitting any key instruction metadata if the DISubprogram has opted out of key instructions.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions