-
Notifications
You must be signed in to change notification settings - Fork 10
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
Need the "compiler-rt" runtime for address sanitizer #3
Comments
Looks like on Windows you have to build compiler-rt separately, after the LLVM build has finished.
Where the LLVM install path is what is currently packaged up (contains bin, include, lib and share) Then build and install like LLVM |
All we need is the library, so presumably a second build doing that then. |
I think I figured out a better way, PR coming soon. |
#4 |
@lerno No need to build clang! Go into
This part is also the same
Confirmed this actually works quite well, including the install step. |
Can you do a pull request for a new setup? |
Related to c3lang/c3c#1222
Specifically we need
clang_rt.asan-x86_64.lib
for address sanitizer support on windows. This library needs to be deployed next to c3c.exe so it can be linked against when--sanitize=address
is enabled.Here's the info on how to build:
https://clang.llvm.org/docs/AddressSanitizer.html#how-to-build
The text was updated successfully, but these errors were encountered: