diff options
| author | Ilia Kuklin <ikuklin@accesssoftek.com> | 2024-11-19 20:39:29 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 20:39:29 +0500 |
| commit | de6d1683d4163a384ce529bf9bd70bb9bcd16a41 (patch) | |
| tree | 7cabe85ecf6dcbb6a7ff35ec26ae16009a8ad413 /lldb/test/Shell/SymbolFile/DWARF | |
| parent | 64e3466fd09ec0b02f27ec15a176611fe65ed961 (diff) | |
Revert "[lldb] Convert file address to load address when reading memory for DW_OP_piece" (#116824)
Reverts llvm/llvm-project#116411
Diffstat (limited to 'lldb/test/Shell/SymbolFile/DWARF')
| -rw-r--r-- | lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c b/lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c deleted file mode 100644 index d31250426dc1..000000000000 --- a/lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c +++ /dev/null @@ -1,23 +0,0 @@ -// Check that optimized with -O3 values that have a file address can be read -// DWARF info: -// 0x00000023: DW_TAG_variable -// DW_AT_name ("array") -// DW_AT_type (0x00000032 "char[5]") -// DW_AT_location (DW_OP_piece 0x2, DW_OP_addrx 0x0, DW_OP_piece 0x1) - -// RUN: %clang_host -O3 -gdwarf %s -o %t -// RUN: %lldb %t \ -// RUN: -o "b 22" \ -// RUN: -o "r" \ -// RUN: -o "p/x array[2]" \ -// RUN: -b | FileCheck %s -// -// CHECK: (lldb) p/x array[2] -// CHECK: (char) 0x03 - -static char array[5] = {0, 1, 2, 3, 4}; - -int main(void) { - array[2]++; - return 0; -}
\ No newline at end of file |
