diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2021-10-05 13:44:40 +0100 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2021-10-05 14:01:26 +0100 |
commit | e265644b324424bbc00185293594d3207150ee6e (patch) | |
tree | 8019a462e4547adf4eb47e2b406ff29db2ec36d5 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 8737c74fab3aee833d85b7d235d2c47ebb4eed2e (diff) | |
download | llvm-e265644b324424bbc00185293594d3207150ee6e.zip llvm-e265644b324424bbc00185293594d3207150ee6e.tar.gz llvm-e265644b324424bbc00185293594d3207150ee6e.tar.bz2 |
[DebugInfo][InstrRef] Track all of DBG_PHIs operands
An important part of the instruction referencing solution is that we
identify all the registers that values move between before we then compute
an SSA-like function from the machine code, and from the variable
intrinsics. DBG_PHIs weren't causing all the subregisters of their operands
to be tracked; this patch forces that to happen.
The practical implications were that not enough space is allocated for
storing values when analysing the function -- asan will crash on the
attached test case with an unpatched compiler. Non-asan llc's will produce
a DBG_VALUE $noreg, where it should be $dil.
Differential Revision: https://reviews.llvm.org/D109064
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions