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
compile asan, but the content of compile_commands.json is empty #563
Comments
Hey @zhaohongjian520 , thanks for the report. What is |
asan also known as libasan is a santizer https://github.com/google/sanitizers/wiki/AddressSanitizer |
compile instructions are https://github.com/google/sanitizers/wiki/AddressSanitizerHowToBuild |
Maybe check the compilation logs, compiling/cross-compiling gcc is a complex process, usually in stage 1 only the bare gcc is being build, which is then used to build libc, and then within stage 2 the full gcc (with libgcc and other necessary libs) is being built. Sometimes the stage1 compiler binary is being renamed to |
when I compile source code of gcc, I found that content of compile_commands.json not contain asan. then I try to compile asan separately, and the result is the same.
The text was updated successfully, but these errors were encountered: