diff options
author | Slava Gurevich <sgurevich@gmail.com> | 2025-10-14 02:00:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-14 02:00:35 -0700 |
commit | 4a8dd4998dae8b7d67e416d20a1fa8a9451c64f5 (patch) | |
tree | 64f503802d56d11e1ae21c73e1048a6b15df8954 /llvm/unittests/Support/SourceMgrTest.cpp | |
parent | ee6c92f8d7acdd633f5fd9a2d92c6e4861148604 (diff) | |
download | llvm-4a8dd4998dae8b7d67e416d20a1fa8a9451c64f5.zip llvm-4a8dd4998dae8b7d67e416d20a1fa8a9451c64f5.tar.gz llvm-4a8dd4998dae8b7d67e416d20a1fa8a9451c64f5.tar.bz2 |
[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.
Diffstat (limited to 'llvm/unittests/Support/SourceMgrTest.cpp')
0 files changed, 0 insertions, 0 deletions