aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2024-04-30 08:48:24 +0100
committerGitHub <noreply@github.com>2024-04-30 08:48:24 +0100
commit09e7d86b99c6e6d4f4a3296647d1b7d803c5bac5 (patch)
treef5c8c1b8820988ace88bf2d28802d7c19237bede /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent91a8cb781dbc981356207e0c3608d92ed6d26042 (diff)
downloadllvm-09e7d86b99c6e6d4f4a3296647d1b7d803c5bac5.zip
llvm-09e7d86b99c6e6d4f4a3296647d1b7d803c5bac5.tar.gz
llvm-09e7d86b99c6e6d4f4a3296647d1b7d803c5bac5.tar.bz2
[RemoveDIs] Fix findDbgValues to return dbg_assign records too (#90471)
In the debug intrinsic class heirachy, a dbg.assign is a (inherits from) dbg.value, so `findDbgValues` returns dbg.values and dbg.assigns (by design). That hierarchy doesn't exist for DbgRecords - fix findDbgValues to return dbg_assign records as well as dbg_values and add unittest.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions