Files
swift-mirror/test/DebugInfo/hello.swift
Adrian Prantl 4bf7a5b0f6 Debug info: Add a reference to the stdlib swiftmodule in the line table
so LLDB can find it even if nothing in the CU references it.

<rdar://problem/15776868> p 32 gives "error: use of undeclared type 'COpaquePointer'"

Swift SVN r12180
2014-01-11 01:08:40 +00:00

5 lines
245 B
Swift

// RUN: %swift -triple x86_64-apple-darwin14 %s -emit-llvm -g -o - | FileCheck %s
// This program is so short that it doesn't refer the swift stdlib.
println("Hello World!")
// CHECK: [ DW_TAG_file_type ]{{.*}}lib/swift/macosx/swift.swiftmodule