diff options
author | David Blaikie <dblaikie@gmail.com> | 2021-10-12 12:26:24 -0700 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2021-10-12 13:02:47 -0700 |
commit | d7e766c781228e5591d4e59068f7566c20a1bf6d (patch) | |
tree | c6fc939ed3fd38971470664dd0319116a6ebf02e /llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp | |
parent | dfa8d33eea4122a9864647d8e31acaf0e8acff84 (diff) | |
download | llvm-d7e766c781228e5591d4e59068f7566c20a1bf6d.zip llvm-d7e766c781228e5591d4e59068f7566c20a1bf6d.tar.gz llvm-d7e766c781228e5591d4e59068f7566c20a1bf6d.tar.bz2 |
DebugInfo: Add test coverage for non-zero addrx in DW_FORM_LLVM_addrx_offset
Noticed in code review
https://github.com/llvm/llvm-project/commit/4318028cd2d7633a0cdeb0b5d4d2ed81fab87864#commitcomment-57738034
But the issue had already been fixed in
943b3048484b7e3cf04f4d51c23c82fcece2185d due to a code checking tool
(PVS studio) identification, but that lacked test coverage.
Refactor this test a little bit too by using more CHECK-SAME to help the
checks fail sooner (rather than, if the addrx or sizes are wrong, having
that check bind to a much later output line - and then fail due to the
implicit-check-nots, which don't provide a lot of information about
where the intended check was likely to land) & more informatively.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp')
0 files changed, 0 insertions, 0 deletions