aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2022-01-28 14:52:55 +0000
committerJeremy Morse <jeremy.morse@sony.com>2022-01-28 15:04:54 +0000
commit76fd78b4b35a6831af0b37ab74764892231077eb (patch)
tree3ba290fdc716ef21c488ea43694bb6527a9712cb /llvm/lib/Object/MachOObjectFile.cpp
parentde37912f000e7e8e42fbf16a832dd4020f85c06f (diff)
downloadllvm-76fd78b4b35a6831af0b37ab74764892231077eb.zip
llvm-76fd78b4b35a6831af0b37ab74764892231077eb.tar.gz
llvm-76fd78b4b35a6831af0b37ab74764892231077eb.tar.bz2
[MVerifier] Don't check liveness of any debug instruction operands
Shiny new DBG_PHI instruction usually have physical registers as operands -- however, the machine verifier checks to see whether they're live, and occasionally this fails. There's a filter for DBG_VALUE instructions to not get verified in this way: expand it to exempt all debug instructions from liveness checking, which means DBG_PHIs get treated like DBG_VALUEs. This also future proofs against us adding new debug instructions. Differential Revision: https://reviews.llvm.org/D117891
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions