mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 17:36:30 +00:00

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
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================