-
Notifications
You must be signed in to change notification settings - Fork 5
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
Uninitialized bytes in Clang? #123
Comments
@zimmski Sorry, not related, but I was just curious (from before). go-clang auto-building scripts seem to already installed the Line 31 in 0a3be65
The If I said something strange, please ignore it. (also, sorry for bad English) |
@zimmski np! very thanks :) I don't know go's build architecture, but |
Just to double check: at one point they mention
Did you do that? |
Definitely not for the LLVM/Clang libraries. I think I will try this using pure C and then post it on the LLVM/Clang tracker/ML. |
I opened an issue in the LLVM tracker https://llvm.org/bugs/show_bug.cgi?id=30410 The gist: @marxriedl mentioned quote says it all. The TravisCI/Debian version of Clang/LLVM was not compiled with the memory sanitizer. The problem is that we would need to compile libc++ and Clang and all other libraries that we use ourselves, see [https://github.com/google/sanitizers/wiki/MemorySanitizerBootstrappingClang]. I did a quick search and could not find any packages that we could use in TravisCI, and I am not sure that we want to exploit our free CI service that much. |
I am trying to get the
-msan
flag working by eliminating all found problems but I think this is a hopeless case because I do not think that it is our fault now. Even if I get everything working as I want it to be (e.g. line numbers are still missing) the problem looks like it is coming from LLVM/Clang itself? Am I wrong?The following example (it dos not even touch any go-clang code)
Produces the following problem
The text was updated successfully, but these errors were encountered: