brintos

brintos / llvm-project-archived public Read only

0
0
Text · 477 B · 0c86107 Raw
11 lines · cpp
1// Test that binaries linked deterministically (N_OSO has timestamp 0) can still2// have their object files loaded by lldb. Note that the env var ZERO_AR_DATE3// requires the ld64 linker, which clang invokes by default.4// REQUIRES: system-darwin5// RUN: %clang_host %s -g -c -o %t.o6// RUN: env ZERO_AR_DATE=1 %clang_host %t.o -g -o %t7// RUN: %lldb %t -o "breakpoint set -f %s -l 10" -o run -o exit | FileCheck %s8// CHECK: stop reason = breakpoint9 10int main() { return 0; }11