blob: ff28e6e45d2e9a9281de029723f296d3f7b53898 [file] [log] [blame]
// Check that the apple-names section is emitted on Darwin.
// Adapted from llvm/test/DebugInfo/X86/debugger-tune.ll
// RUN: %target-swiftc_driver -emit-object -g %s -o %t
// RUN: llvm-readobj -sections %t | %FileCheck --check-prefix=CHECK-LLDB %s
// CHECK-LLDB-NOT: debug_pubnames
// CHECK-LLDB: apple_names
// CHECK-LLDB-NOT: debug_pubnames
// REQUIRES: OS=macosx