You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
474 B
12 lines
474 B
// Test that binaries linked deterministically (N_OSO has timestamp 0) can still
|
|
// have their object files loaded by lldb. Note that the env var ZERO_AR_DATE
|
|
// requires the ld64 linker, which clang invokes by default.
|
|
// REQUIRES: system-darwin
|
|
// RUN: %clang_host %s -g -c -o %t.o
|
|
// RUN: 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
|
|
// CHECK: stop reason = breakpoint
|
|
|
|
|
|
int main() { return 0; }
|