Files
swift-mirror/test/DebugInfo/apple-names-accel.swift
Adrian Prantl 1203896b03 Factor out the test for the .apple_names section and disable it on Linux.
This is in reaction to LLVM r322633.
2018-02-28 13:17:08 -08:00

11 lines
372 B
Swift

// 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