[Lldb-commits] [lldb] [lldb] Support reading DW_OP_piece from file address (PR #94026)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 3 10:57:34 PDT 2024
================
@@ -768,3 +768,63 @@ TEST(DWARFExpression, ExtensionsDWO) {
testExpressionVendorExtensions(dwo_module_sp, *dwo_dwarf_unit);
}
+
+TEST_F(DWARFExpressionMockProcessTest, DW_OP_piece_file_addr) {
+ struct MockTarget : Target {
----------------
JDevlieghere wrote:
Very cool, thanks for the suggestion. I had to tweak it a little bit since this is using an out parameter for the bugger. I couldn't find a declarative way to do that, but if you know of one I'd love to learn more about it.
https://github.com/llvm/llvm-project/pull/94026
More information about the lldb-commits
mailing list