Author: Ilia Kuklin Date: 2024-11-22T22:51:11+05:00 New Revision: dc637e940cb115fe72408ba96ad2e5e2396a3e94
URL: https://github.com/llvm/llvm-project/commit/dc637e940cb115fe72408ba96ad2e5e2396a3e94 DIFF: https://github.com/llvm/llvm-project/commit/dc637e940cb115fe72408ba96ad2e5e2396a3e94.diff LOG: Revert "[lldb] Fix DW_OP_piece-O3 test on AArch64 Windows" (#117354) Reverts llvm/llvm-project#117336 Added: Modified: lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c Removed: ################################################################################ diff --git a/lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c b/lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c index 75cd4e6a913b9c..77ea81f30395f0 100644 --- a/lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c +++ b/lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c @@ -7,7 +7,7 @@ // RUN: %clang_host -O3 -gdwarf %s -o %t // RUN: %lldb %t \ -// RUN: -o "b done" \ +// RUN: -o "b 25" \ // RUN: -o "r" \ // RUN: -o "p/x array[2]" \ // RUN: -b | FileCheck %s @@ -17,10 +17,10 @@ static char array[5] = {0, 1, 2, 3, 4}; -int done() __attribute__((noinline)); -int done() { return array[2]; }; +void func() __attribute__((noinline)); +void func() { ++array[2]; }; int main(void) { - ++array[2]; - return done(); + func(); + return 0; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits