[PATCH] D29345: [sanitizer] Fix test on Darwin failing after 293682
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 13:50:36 PST 2017
mpividori added a comment.
@kubamracek Ok, it looks like `nm` in Darwin tags weak symbols with a default implementation as ` T `, while in linux they are tagged as ` W `. Because of that the last diff failed.
Ok, so the problem are the weak symbols that doesn't have a default implementation, like `__sanitizer_*_hook` . nm in Darwin doesn't show them. (This is what I understand from here). Probably they are listed with a different letter (not with ` T `). Could you check this:
nm -g $(pwd)/lib/clang/4.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib | grep sanitizer_malloc_hook
More information about the llvm-commits