forked from OSchip/llvm-project
Un-XFAIL tests on Windows after fixing PR27492
Private symbols in PDBs do not have parameter types in their names so we have to drop the parens from the lambda call operator. llvm-svn: 267735
This commit is contained in:
parent
47bd3994b7
commit
a16ef7633b
|
@ -4,9 +4,6 @@
|
|||
// RUN: not %run %t 2 2>&1 | FileCheck %s --check-prefix=CHECK2
|
||||
// RUN: not %run %t 3 2>&1 | FileCheck %s --check-prefix=CHECK3
|
||||
|
||||
// FIXME: Symbolization problems.
|
||||
// XFAIL: win32
|
||||
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
inline void break_optimization(void *arg) {
|
||||
__asm__ __volatile__("" : : "r" (arg) : "memory");
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// RUN: %clangxx_asan -std=c++11 -O1 -mllvm -asan-use-after-scope=1 %s -o %t && \
|
||||
// RUN: not %run %t 2>&1 | FileCheck %s
|
||||
// XFAIL: win32
|
||||
|
||||
#include <functional>
|
||||
|
||||
|
@ -11,7 +10,7 @@ int main() {
|
|||
f = [&x]() {
|
||||
return x; // BOOM
|
||||
// CHECK: ERROR: AddressSanitizer: stack-use-after-scope
|
||||
// CHECK: #0 0x{{.*}} in {{.*}}::operator()(){{.*}}.cc:[[@LINE-2]]
|
||||
// CHECK: #0 0x{{.*}} in {{.*}}::operator(){{.*}}.cc:[[@LINE-2]]
|
||||
};
|
||||
}
|
||||
return f(); // BOOM
|
||||
|
|
Loading…
Reference in New Issue