summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/frame
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-26 23:35:38 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-26 23:35:38 +0000
commit94b431ab63d4cba3ef870b7cdb9dc3d4962884c7 (patch)
treecbe539761456548fc40429fff734a53aea7695db /lldb/test/python_api/frame
parent1b71a22b28326b04bbdafcdb53c0a5f3917a11d8 (diff)
downloadbcm5719-llvm-94b431ab63d4cba3ef870b7cdb9dc3d4962884c7.tar.gz
bcm5719-llvm-94b431ab63d4cba3ef870b7cdb9dc3d4962884c7.zip
Add skip test for clang, which has insufficient debug info for call site in main().
llvm-svn: 136184
Diffstat (limited to 'lldb/test/python_api/frame')
-rw-r--r--lldb/test/python_api/frame/inlines/TestInlinedFrame.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
index cebfae90e0f..73c8d50ac3d 100644
--- a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
+++ b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
@@ -14,7 +14,7 @@ class InlinedFrameAPITestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
- def test_stop_at_outer_inline_dsym(self):
+ def test_stop_at_outer_inline_with_dsym(self):
"""Exercise SBFrame.IsInlined() and SBFrame.GetFunctionName()."""
self.buildDsym()
self.do_stop_at_outer_inline()
@@ -70,6 +70,8 @@ class InlinedFrameAPITestCase(TestBase):
#
frame0 = process.GetThreadAtIndex(0).GetFrameAtIndex(0)
if frame0.IsInlined():
+ if self.getCompiler().endswith('clang'):
+ self.skipTest("clang: insufficient debug info for call site in main()")
filename = frame0.GetLineEntry().GetFileSpec().GetFilename()
self.assertTrue(filename == self.source)
self.expect(stack_traces1, "First stop at %s:%d" % (self.source, self.first_stop), exe=False,
OpenPOWER on IntegriCloud