[Lldb-commits] [lldb] fffe93a - [LLDB] Fix deterministic-build.cpp post #156931 (#156983)

via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 4 16:56:21 PDT 2025


Author: Aiden Grossman
Date: 2025-09-04T16:56:17-07:00
New Revision: fffe93af52d36a475cf4ee2829261c8aa8b5363f

URL: https://github.com/llvm/llvm-project/commit/fffe93af52d36a475cf4ee2829261c8aa8b5363f
DIFF: https://github.com/llvm/llvm-project/commit/fffe93af52d36a475cf4ee2829261c8aa8b5363f.diff

LOG: [LLDB] Fix deterministic-build.cpp post #156931 (#156983)

This test was brokem by migrating to the lit internal shell due to a
lack of env prefix for setting environment variables. This was fixed in
prevented the breakpoint in the test from mapping to anything, causing
the test to file. This patch restores the original line numbering.

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/deterministic-build.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/deterministic-build.cpp b/lldb/test/Shell/SymbolFile/DWARF/deterministic-build.cpp
index 13fe3898e50aa..0c86107fc9632 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/deterministic-build.cpp
+++ b/lldb/test/Shell/SymbolFile/DWARF/deterministic-build.cpp
@@ -4,7 +4,7 @@
 // REQUIRES: system-darwin
 // RUN: %clang_host %s -g -c -o %t.o
 // RUN: env ZERO_AR_DATE=1 %clang_host %t.o -g -o %t
-// RUN: %lldb %t -o "breakpoint set -f %s -l 11" -o run -o exit | FileCheck %s
+// RUN: %lldb %t -o "breakpoint set -f %s -l 10" -o run -o exit | FileCheck %s
 // CHECK: stop reason = breakpoint
 
 int main() { return 0; }


        


More information about the lldb-commits mailing list