Commit 520d0e85 authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Merging r258685:

------------------------------------------------------------------------
r258685 | slthakur | 2016-01-25 04:33:03 -0800 (Mon, 25 Jan 2016) | 10 lines

[LLDB][MIPS] Fix TestPrintStackTraces.py

Patch by Nitesh Jain.

Summary: The thread_start function in libc doesn't contain any epilogue and prologue instructions. Hence unwinding fail when we are stopped in thread_start.

Reviewers: ovyalov, clayborg
Subscribers: lldb-commits, mohit.bhakkad, sagar, bhushan, jaydeep
Differential: reviews.llvm.org/D16136

------------------------------------------------------------------------

llvm-svn: 259374
parent aca383e0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -22,6 +22,10 @@ class ThreadsStackTracesTestCase(TestBase):
        self.line = line_number('main.cpp', '// Set break point at this line.')

    @expectedFailureAll("llvm.org/pr23043", ["linux"], archs=["i386"]) # We are unable to produce a backtrace of the main thread when the thread is blocked in fgets

    #The __thread_start function in libc doesn't contain any epilogue and prologue instructions 
    #hence unwinding fail when we are stopped in __thread_start
    @expectedFailureAll(triple = 'mips*')
    @expectedFailureWindows("llvm.org/pr24778")
    @add_test_categories(['pyapi'])
    def test_stack_traces(self):