[all-commits] [llvm/llvm-project] 4a8dd4: [BOLT][NFC] Fix for a dangling reference UB (#163344)
Slava Gurevich via All-commits
all-commits at lists.llvm.org
Tue Oct 14 02:00:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a8dd4998dae8b7d67e416d20a1fa8a9451c64f5
https://github.com/llvm/llvm-project/commit/4a8dd4998dae8b7d67e416d20a1fa8a9451c64f5
Author: Slava Gurevich <sgurevich at gmail.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)
Changed paths:
M bolt/lib/Passes/FrameAnalysis.cpp
M bolt/lib/Passes/ShrinkWrapping.cpp
Log Message:
-----------
[BOLT][NFC] Fix for a dangling reference UB (#163344)
Fix UB caused by accessing the top element of the stack via a dangling
reference after a call to .pop() This is tripping static analysis.
No functional changes. Performance impact is negligible, but alt.
implementation of the fix is possible if needed.
Testing: Both functional and unit tests are passing.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list