diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2019-10-02 19:53:19 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2019-10-02 19:53:19 +0000 |
commit | 464df87288f7ff734119da26a1e5eab0d1f57681 (patch) | |
tree | 586612567b2d3589149d18b865a7897305b5d579 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | e139a73c5fc1fc7139b08c7ff3adf3a29e1f7dc8 (diff) | |
download | bcm5719-llvm-464df87288f7ff734119da26a1e5eab0d1f57681.tar.gz bcm5719-llvm-464df87288f7ff734119da26a1e5eab0d1f57681.zip |
Handle llvm.launder.invariant.group in msan.
Summary:
[MSan] handle llvm.launder.invariant.group
Msan used to give false-positives in
class Foo {
public:
virtual ~Foo() {};
};
// Return true iff *x is set.
bool f1(void **x, bool flag);
Foo* f() {
void *p;
bool found;
found = f1(&p,flag);
if (found) {
// p is always set here.
return static_cast<Foo*>(p); // False positive here.
}
return nullptr;
}
Patch by Ilya Tokar.
Reviewers: #sanitizers, eugenis
Reviewed By: #sanitizers, eugenis
Subscribers: eugenis, Prazek, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68236
llvm-svn: 373515
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions