-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[ASan] Do not return from void functions in asan_abi_shim.cpp #170897
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
Merged
boomanaiden154
merged 3 commits into
llvm:main
from
boomanaiden154:compiler-rt-fake-stack-compilation-fix
Dec 5, 2025
Merged
[ASan] Do not return from void functions in asan_abi_shim.cpp #170897
boomanaiden154
merged 3 commits into
llvm:main
from
boomanaiden154:compiler-rt-fake-stack-compilation-fix
Dec 5, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was causing compilation failures on MacOS.
Member
|
@llvm/pr-subscribers-compiler-rt-sanitizer Author: Aiden Grossman (boomanaiden154) ChangesThis was causing compilation failures on MacOS. Full diff: https://github.com/llvm/llvm-project/pull/170897.diff 1 Files Affected:
diff --git a/compiler-rt/lib/asan_abi/asan_abi_shim.cpp b/compiler-rt/lib/asan_abi/asan_abi_shim.cpp
index 7ae7e77aea4a2..2cadf96dca2cd 100644
--- a/compiler-rt/lib/asan_abi/asan_abi_shim.cpp
+++ b/compiler-rt/lib/asan_abi/asan_abi_shim.cpp
@@ -366,10 +366,10 @@ void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg,
return __asan_abi_addr_is_in_fake_stack(fake_stack, addr, beg, end);
}
void __asan_suppress_fake_stack(void) {
- return __asan_abi_suppress_fake_stack();
+ __asan_abi_suppress_fake_stack();
}
void __asan_unsuppress_fake_stack(void) {
- return __asan_abi_unsuppress_fake_stack();
+ __asan_abi_unsuppress_fake_stack();
}
// Functions concerning poisoning and unpoisoning fake stack alloca
|
Collaborator
|
How exactly error looks like? |
vitalybuka
approved these changes
Dec 5, 2025
|
✅ With the latest revision this PR passed the C/C++ code formatter. |
Contributor
Author
|
honeygoyal
pushed a commit
to honeygoyal/llvm-project
that referenced
this pull request
Dec 9, 2025
…70897) This was causing compilation failures on MacOS.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was causing compilation failures on MacOS.