-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
[asan] Fix Windows i386 regression #73650
Conversation
@llvm/pr-subscribers-compiler-rt-sanitizer Author: Farzon Lotfi (farzonl) ChangesThis change makes x64 enablement case explicit. Full diff: https://github.com/llvm/llvm-project/pull/73650.diff 1 Files Affected:
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
index 49d8a67cc12db3f..e816702ce582e7c 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
@@ -263,7 +263,7 @@
#if SANITIZER_WINDOWS64 && SANITIZER_ARM64
# define SANITIZER_WINDOWS_ARM64 1
# define SANITIZER_WINDOWS_x64 0
-#else
+#if SANITIZER_WINDOWS64 && !SANITIZER_ARM64
# define SANITIZER_WINDOWS_ARM64 0
# define SANITIZER_WINDOWS_x64 1
#endif
|
✅ With the latest revision this PR passed the C/C++ code formatter. |
09654d2
to
b87fae8
Compare
5a0b965
to
0451746
Compare
The change looks ok, but please improve the commit message (the PR description); at least reference the commit that caused the regression, and add tags to indicate the scope of the commit, e.g. “[asan]” at the start of the subject. And please spell out “windows”, not “window “. |
0451746
to
ef73a45
Compare
@mstorsjo I don't have permissions to add tags. I completed all the other requests. |
This change makes x64 enablement case explicit and adds an else case for 32bit which fixes a regression on Windows i386 asan builds introduced by llvm#66973.
ef73a45
to
68a376f
Compare
This change makes x64 enablement case explicit and
adds an else case for 32bit which fixes a regression
on Windows i386 asan builds introduced
by #66973.