-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asan/Tsan/Msan #13
Comments
I manged to get libc++ compiled under the sanitizers by passing extra flags in libcxx.bzl and everything appears to work correctly. The configuration I use is slightly different so I'm not sure why the linking error above happens. In any case, it would be very useful if this toolchain would support the sanitizers out of the box. |
@dionescu what flags did you have to pass? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to use Asan/Tsan/Msan with this toolchain? When I try (e.g. asan) I get an error:
chromium_ld: error: cannot open external/co_vsco_bazel_toolchains/tools/cpp/tool_wrappers/lib/clang/6.0.0/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory
For some reason, chromium_ld is looking for libclang_rt.asan-x86_64.a under external/co_vsco_bazel_toolchains/tools/cpp/tool_wrappers instead of external/org_chromium_clang_linux_x64/...
The text was updated successfully, but these errors were encountered: