187aa9c9eSJonas Devlieghere // Test that binaries linked deterministically (N_OSO has timestamp 0) can still
287aa9c9eSJonas Devlieghere // have their object files loaded by lldb. Note that the env var ZERO_AR_DATE
387aa9c9eSJonas Devlieghere // requires the ld64 linker, which clang invokes by default.
487aa9c9eSJonas Devlieghere // REQUIRES: system-darwin
5*9c739252SPavel Labath // RUN: %clang_host %s -g -c -o %t.o
6*9c739252SPavel Labath // RUN: ZERO_AR_DATE=1 %clang_host %t.o -g -o %t
787aa9c9eSJonas Devlieghere // RUN: %lldb %t -o "breakpoint set -f %s -l 11" -o run -o exit | FileCheck %s
887aa9c9eSJonas Devlieghere // CHECK: stop reason = breakpoint
987aa9c9eSJonas Devlieghere
1087aa9c9eSJonas Devlieghere
main()1187aa9c9eSJonas Devlieghere int main() { return 0; }
12