[all-commits] [llvm/llvm-project] 143bf9: [hwasan] Don't check code model if there are no gl...
Thurston Dang via All-commits
all-commits at lists.llvm.org
Thu Mar 13 08:18:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 143bf95d41f427bb91335198d5eccd624b5b47d4
https://github.com/llvm/llvm-project/commit/143bf95d41f427bb91335198d5eccd624b5b47d4
Author: Thurston Dang <thurston at google.com>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_globals.cpp
Log Message:
-----------
[hwasan] Don't check code model if there are no globals (#131152)
Currently, the code model check is always performed even if there are no
globals, because:
1) the HWASan compiler pass always leaves a note
2) the HWASan runtime always performs the check if there is a HWASan
globals note.
This unnecessarily adds a 2**32 byte size limit.
This patch elides the check if the globals note doesn't actually contain
globals, thus allowing larger libraries to be successfully instrumented
without globals.
Sent from my iPhone
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