]> granicus.if.org Git - llvm/commit
[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)
commit3b8055a11c4cca2551198aa9e806f838a72e0b58
treec6b8dc0b9f03b3e234757baed74a97cc6a95432e
parenta764eb906a0680dd5bbf1189e35a70e5117c43f7
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354931 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/HotColdSplitting.cpp
test/Transforms/HotColdSplit/X86/do-not-split.ll