Skip to content

Commit 1c0bdf9

Browse files
author
Gabor Horvath
committed
[lldb] Mark forward C++ interop test XFAIL
After Swift PR llvm#77323, we import C++ source locations for imported code. This improves some diagnostics but also breaks some of the heuristics LLDB have to select the right frame on traps. This PR marks the test XFAIL until we figure out a better heuristic to stop at the right frame. This is not a trivial question as we cannot just mark all C++ imported source locations artifical, some of that code is user written, some is not (coming from frameworks, STL). Moreover, some users might prefer to stop in the C++ code and some users might prefer to stop in Swift code.
1 parent 1a831c9 commit 1c0bdf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/test/API/lang/swift/cxx_interop/forward/verbose_trap/TestSwiftForwardInteropVerboseTrap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
class TestSwiftForwardInteropVerboseTrap(TestBase):
1010

1111
@swiftTest
12+
@expectedFailureAll(bugnumber="rdar://139429226")
1213
def test(self):
1314
self.build()
1415
target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))

0 commit comments

Comments
 (0)