mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When compiling with interop enabled, emit the C++ interop compiler flag
into the DW_AT_APPLE_flags, to make it so LLDB can accurately match the
C++ interop mode when initializing its compiler instance.
rdar://97610458
(cherry picked from commit b1dbb0a321)
6 lines
281 B
Swift
6 lines
281 B
Swift
// Check that the "-enable-experimental-cxx-interop" is stored as a flag in the
|
|
// Compile Unit.
|
|
|
|
// RUN: %target-swift-frontend -emit-ir -enable-experimental-cxx-interop -g %s -o - | %FileCheck %s
|
|
// CHECK: !DICompileUnit({{.*}}flags: "-enable-experimental-cxx-interop"
|