[PATCH] D26084: [lsan] [aarch64] Fix printing of pointers in make check tests - update
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 28 10:57:10 PDT 2016
kcc added inline comments.
================
Comment at: test/tsan/deadlock_detector_stress_test.cc:14
#include <new>
+#include "print_address.h"
----------------
Don't change the tsan tests, instead include the new file into tsan's test.h
================
Comment at: test/tsan/lit.cfg:47
extra_cflags)
-clang_tsan_cxxflags = config.cxx_mode_flags + clang_tsan_cflags + ["-std=c++11"]
+tsan_incdir = config.test_source_root + "/../sanitizer_common/"
+clang_tsan_cxxflags = config.cxx_mode_flags + clang_tsan_cflags + ["-std=c++11"] + ["-I%s" % tsan_incdir]
----------------
use /../ instead of /../sanitizer_common/"
and then include sanitizer_common/print_address.h
https://reviews.llvm.org/D26084
More information about the llvm-commits
mailing list