[HotColdSplit] Disable splitting for sanitized functions
authorVedant Kumar <vsk@apple.com>
Tue, 26 Feb 2019 22:55:46 +0000 (22:55 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 26 Feb 2019 22:55:46 +0000 (22:55 +0000)
commit73522d167890e904e6a42eb06836dd1ecc2fb8fc
treef2fab828c7348c631ad57b06f27fbc20bb33df0a
parent35d2d51369b4ddc03893c10082a47cab4a2185e5
[HotColdSplit] Disable splitting for sanitized functions

Splitting can make sanitizer errors harder to understand, as the
trapping instruction may not be in the function where the bug was
detected.

rdar://48142697

llvm-svn: 354931
llvm/lib/Transforms/IPO/HotColdSplitting.cpp
llvm/test/Transforms/HotColdSplit/X86/do-not-split.ll