diff options
| author | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-05-18 06:09:26 +0000 |
|---|---|---|
| committer | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-05-18 06:09:26 +0000 |
| commit | 7bec3a94c62bab3add2cef80aaace9cbe60a0cb3 (patch) | |
| tree | 3555e19d77e8f4df51ddd89073b97d5f57b6a260 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
| parent | 4ce96c59e4752d48070093dc077789fdb1ba8787 (diff) | |
| download | bcm5719-llvm-7bec3a94c62bab3add2cef80aaace9cbe60a0cb3.tar.gz bcm5719-llvm-7bec3a94c62bab3add2cef80aaace9cbe60a0cb3.zip | |
[LSAN] Fix test swapcontext.cc on MIPS
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.
Reviewed by aizatsky.
Differential: http://reviews.llvm.org/D19961
llvm-svn: 269882
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions

