-
Notifications
You must be signed in to change notification settings - Fork 6
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
Stack instrumentation errorneous #113
Labels
bug
Something isn't working
Comments
Given a and b map to the same stack address
Can |
Setting Output without stack lifetime
Output with stack lifetime
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Defect description
Instrumenting stack allocation without considering lifetime markers leads to stack re-use (overwrites).
(The stack coloring algorithm of LLVM tries to reduce stack space).
Example
References
https://reviews.llvm.org/D93376
https://github.com/llvm/llvm-project/blob/release/14.x/llvm/lib/CodeGen/StackColoring.cpp#L163
The text was updated successfully, but these errors were encountered: