Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: MSAN failed to run on arm64 with non-PIE builds #33712
What version of Go are you using (
The below are some findings.
Run the command "clang -fsanitize=memory -fno-omit-frame-pointer -g -O2 -v test.cc", the log shows the program is linked with pie mode.
If I used PIE mode to build the msan program, the program can pass on arm64.
I will post a fixing CL, using PIE link mode when using MSAN.