Short update: I thought the behavior reported below it might be related to the fact that llvm-symbolizer picks up the “wrong” (i.e. the msan-implemented) version of libc++ once I put it in the LD_LIBRARY_PATH. Thus I tried to compile a complete LLVM/Clang stack (with compiler-rt, libcxx, libcxxabi, libomp) using -DLLVM_USE_SANITIZER=MemoryWithOrigins. However, this did not work either, as apparently during the compilation process the memory sanitizer already comes to life and complains about use-of-unitialized values… Thus this approach seems to be a dead end.
Michael On 24 Nov 2015, at 15:28 , Michael Schlottke-Lakemper <m.schlottke-lakem...@aia.rwth-aachen.de<mailto:m.schlottke-lakem...@aia.rwth-aachen.de>> wrote: Hi folks, When running our msan-instrumented simulation program, instead of a proper output I get the following error: ==12089==WARNING: MemorySanitizer: use-of-uninitialized-value ==12089==WARNING: Can't read from symbolizer at fd 14 /pds/opt/llvm/bin/llvm-symbolizer: symbol lookup error: /pds/opt/libcxx-20151121-r253770-clang-msan/lib/libc++abi.so.1: undefined symbol: __msan_origin_tls ==12089==WARNING: external symbolizer didn't start up correctly! My setup for using the memory sanitizer is as follows: - compile libc++/libc++abi with -fsanitize=memory - compile test program with normal (=uninstrumented) LLVM/Clang installation using -fsanitize=memory - put instrumented libcxx/libcxxabi library dirs into LD_LIBRARY_PATH - run program Any idea what I am doing wrong? Thanks a lot in advance! Michael -- Michael Schlottke-Lakemper Chair of Fluid Mechanics and Institute of Aerodynamics RWTH Aachen University Wüllnerstraße 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke-lakem...@aia.rwth-aachen.de<mailto:m.schlottke-lakem...@aia.rwth-aachen.de> Web: http://www.aia.rwth-aachen.de<http://www.aia.rwth-aachen.de/>
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users