forked from OSchip/llvm-project
[asan] Further fix the test from r208333.
Remove a debug print and some copypasta. llvm-svn: 208535
This commit is contained in:
parent
6c383021c9
commit
aeb18fc787
|
@ -2,7 +2,7 @@
|
|||
// modules.
|
||||
// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSHARED %s -shared -o %T/libcoverage_module_unloaded_test_1.so -fPIC
|
||||
// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSHARED %s -shared -o %T/libcoverage_module_unloaded_test_2.so -fPIC
|
||||
// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSO_DIR=\"%T\" %s -o %t -Wl,-R,\$ORIGIN -L%T -lcoverage_test
|
||||
// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSO_DIR=\"%T\" %s -o %t
|
||||
// RUN: export ASAN_OPTIONS=coverage=1:verbosity=1
|
||||
// RUN: %t 2>&1 | FileCheck %s
|
||||
// RUN: %t foo 2>&1 | FileCheck %s
|
||||
|
@ -23,7 +23,6 @@ void bar() { printf("bar\n"); }
|
|||
|
||||
int main(int argc, char **argv) {
|
||||
fprintf(stderr, "PID: %d\n", getpid());
|
||||
fprintf(stderr, "Opening %s\n", SO_DIR "/libcoverage_module_unloaded_test_1.so");
|
||||
void *handle1 =
|
||||
dlopen(SO_DIR "/libcoverage_module_unloaded_test_1.so", RTLD_LAZY);
|
||||
assert(handle1);
|
||||
|
|
Loading…
Reference in New Issue