We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here are my repro steps. I believe this holds for any amd64 debug program.
int main() { int x = 1; }
Build the exe with clang-cl.exe --target=arm64-windows /Zi /Od test.cpp
Deploy test.exe / test.pdb to arm64 machine
Open exe under debugger, and break into code (windbg.exe test.exe, then bp test!main in command line)
step into function and try to observe value of local variable. expected: local variable value displays actual: memory access error reported
No repro on amd64. With arm64 retail (/O2 instead of /Od), no issue except for volatile variables, which also have memory access error.
The text was updated successfully, but these errors were encountered:
We're seeing this in Firefox Nightly builds as well. Unlike comment 0, we use /O2 but still have problems with locals.
Here's a real-world build if it helps, although starting with the simpler reproducer from the original report may be a better idea:
Results:
Locals not available, and this message often appears in the debug output: CvRegToMachine(arm64) conversion failure for 0x1
Sorry, something went wrong.
This should be resolved by rL362280 (https://reviews.llvm.org/rL362280)
That's great, thanks for the pointer! I'll try to confirm this the next time I build for arm (which isn't too often anymore).
No branches or pull requests
Extended Description
Here are my repro steps. I believe this holds for any amd64 debug program.
int main() {
int x = 1;
}
Build the exe with clang-cl.exe --target=arm64-windows /Zi /Od test.cpp
Deploy test.exe / test.pdb to arm64 machine
Open exe under debugger, and break into code (windbg.exe test.exe, then bp test!main in command line)
step into function and try to observe value of local variable.
expected: local variable value displays
actual: memory access error reported
No repro on amd64.
With arm64 retail (/O2 instead of /Od), no issue except for volatile variables, which also have memory access error.
The text was updated successfully, but these errors were encountered: