diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-10-28 14:16:13 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2016-10-28 14:16:13 +0000 |
commit | 7e6f8db7aa604df47ddb0943b72a031be7e9b225 (patch) | |
tree | 0446e4d0408c6a56c86fbe1e38ec6ba7bd49b081 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d9189891fc8fb21b9513aaf1f56cae0c75e33bd8 (diff) | |
download | bcm5719-llvm-7e6f8db7aa604df47ddb0943b72a031be7e9b225.tar.gz bcm5719-llvm-7e6f8db7aa604df47ddb0943b72a031be7e9b225.zip |
tsan: fix windows build
Currently fails with:
C:\workdir\compiler-rt\lib\tsan\go>gcc -c -o race_windows_amd64.syso gotsan.cc -I..\rtl -I..\.. -I..\..\sanitizer_common -I..\..\..\include -m64 -Wall -fno-exceptions -fno-rtti -DSANITIZER_GO -Wno-error=at
tributes -Wno-attributes -Wno-format -Wno-maybe-uninitialized -DSANITIZER_DEBUG=0 -O3 -fomit-frame-pointer -std=c++11
gotsan.cc:9229:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(linker, "/alternatename:__sanitizer_print_memory_profile=__sanitizer_default_print_memory_profile") // NOLINT
^
gotsan.cc: In function 'void __sanitizer_print_memory_profile(int)':
gotsan.cc:9226:17: error: redefinition of 'void __sanitizer_print_memory_profile(int)'
extern "C" void __sanitizer_print_memory_profile(int top_percent) {}
^
gotsan.cc:6898:6: note: 'void __sanitizer_print_memory_profile(int)' previously defined here
void __sanitizer_print_memory_profile(int top_percent) {
Remove __sanitizer_print_memory_profile from Go build, it is not needed.
llvm-svn: 285400
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions