aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2021-11-30 11:47:58 +0000
committerJeremy Morse <jeremy.morse@sony.com>2021-11-30 11:50:05 +0000
commit7093c8101033cc104ce79e8871ac0fb9b70b28c3 (patch)
treeca7d1193020f23316530665de705789a8e44c9ad /llvm/lib/CodeGen/CommandFlags.cpp
parent14c4051122bf4070d624b82189f1093758ecdf69 (diff)
downloadllvm-7093c8101033cc104ce79e8871ac0fb9b70b28c3.zip
llvm-7093c8101033cc104ce79e8871ac0fb9b70b28c3.tar.gz
llvm-7093c8101033cc104ce79e8871ac0fb9b70b28c3.tar.bz2
[DebugInfo][InstrRef][X86] Instrument expanded DYN_ALLOCAs
If we have a DYN_ALLOCA_* instruction, it will eventually be expanded to a stack probe and subtract-from-SP. Add debug-info instrumentation to X86FrameLowering::emitStackProbe so that it can redirect debug-info for the DYN_ALLOCA to the lowered stack probe. In practice, this means putting an instruction number label either the call instruction to _chkstk for win32, or more commonly on the subtract from SP instruction. The two tests added cover both of these cases. Differential Revision: https://reviews.llvm.org/D114452
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions