diff options
author | Orlando Cazalet-Hyams <orlando.hyams@sony.com> | 2024-04-30 08:48:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 08:48:24 +0100 |
commit | 09e7d86b99c6e6d4f4a3296647d1b7d803c5bac5 (patch) | |
tree | f5c8c1b8820988ace88bf2d28802d7c19237bede /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 91a8cb781dbc981356207e0c3608d92ed6d26042 (diff) | |
download | llvm-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