aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2025-03-13 11:18:18 -0400
committerGitHub <noreply@github.com>2025-03-13 11:18:18 -0400
commit143bf95d41f427bb91335198d5eccd624b5b47d4 (patch)
tree64406ecd31e81a79fd8f4597c09ec19207be9141 /flang/lib/Frontend/CompilerInvocation.cpp
parentb003face11fadc526a6f816243441f486ffc958d (diff)
downloadllvm-143bf95d41f427bb91335198d5eccd624b5b47d4.zip
llvm-143bf95d41f427bb91335198d5eccd624b5b47d4.tar.gz
llvm-143bf95d41f427bb91335198d5eccd624b5b47d4.tar.bz2
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions