diff options
author | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-04-19 06:00:35 +0000 |
---|---|---|
committer | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-04-19 06:00:35 +0000 |
commit | 2e17dd5882394c99b1a5c79bde5cb2b17ca74a31 (patch) | |
tree | 60e6c7d7864af18e024923849e40d7bdef37ec6a /lldb/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/main.cpp | |
parent | c0441c29df6498257eca59d41d9ccaf6d5a9adf3 (diff) | |
download | bcm5719-llvm-2e17dd5882394c99b1a5c79bde5cb2b17ca74a31.tar.gz bcm5719-llvm-2e17dd5882394c99b1a5c79bde5cb2b17ca74a31.zip |
[LSAN] Fix test swapcontext.cc on MIPS
Summary: There is no frame validity check in the slow unwinder like there is in the fast unwinder due to which lsan reports a leak even for heap allocated coroutine in the test swapcontext.cc. Since mips/linux uses slow unwindwer instead of fast unwinder, the test fails for mips/linux. Therefore adding the checks before unwinding fixes the test for mips/linux.
Reviewers: samsonov, earthdok, kcc
Subscribers: llvm-commits, mohit.bhakkad, jaydeep
Differential: http://reviews.llvm.org/D18690
llvm-svn: 266716
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/main.cpp')
0 files changed, 0 insertions, 0 deletions