diff options
author | modiking <modiking213@gmail.com> | 2024-02-05 17:01:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 17:01:00 -0800 |
commit | 99ddd77ed9e12f55f8d4b66eec02154a0b3a6bf0 (patch) | |
tree | 9f261039f9fc52279b5b6fd4d790be5e994c72c4 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | c3291253c3b5d1794492ccebe39b7c2c5f74c378 (diff) | |
download | llvm-99ddd77ed9e12f55f8d4b66eec02154a0b3a6bf0.zip llvm-99ddd77ed9e12f55f8d4b66eec02154a0b3a6bf0.tar.gz llvm-99ddd77ed9e12f55f8d4b66eec02154a0b3a6bf0.tar.bz2 |
[LoopUnroll] Introduce PragmaUnrollFullMaxIterations as a hard cap on how many iterations we try to unroll (#78648)
Fixes [PR77842](https://github.com/llvm/llvm-project/issues/77842) where
UBSAN causes pragma full unroll to try and unroll INT_MAX times. This
sets a cap to make sure we don't attempt this and crash the compiler.
Testing:
ninja check-all with new test
---------
Co-authored-by: Nikita Popov <github@npopov.com>
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions