[llvm-dev] Where does the LLVM implement the Ubsan's instrumentations?
John Regehr via llvm-dev
llvm-dev at lists.llvm.org
Thu Jul 20 20:41:45 PDT 2017
> I think your best bet for controlling code bloat is to compile with
> -fsanitize=undefined -fsanitize-trap=undefined.
Also you may not need all of UBSan's checks at the same time -- so pick
and choose among its checks using the finer-grained flags.
If you're really stuck against a hard limit on code size, try applying
UBSan to a subset of files in your project at a time.
John
More information about the llvm-dev
mailing list