diff options
author | Vedant Kumar <vsk@apple.com> | 2018-11-14 19:53:41 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-11-14 19:53:41 +0000 |
commit | 808e157356234ecc865c0baecb2e22df5e4d54a8 (patch) | |
tree | 709d3fcfa3a621d154b82f49755bfb053498ed18 /lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/TestStepScripted.py | |
parent | c0830f55779adf07809f6b1af4351c3a2f293dfc (diff) | |
download | bcm5719-llvm-808e157356234ecc865c0baecb2e22df5e4d54a8.tar.gz bcm5719-llvm-808e157356234ecc865c0baecb2e22df5e4d54a8.zip |
Mark @llvm.trap cold
A call to @llvm.trap can be expected to be cold (i.e. unlikely to be
reached in a normal program execution).
Outlining paths which unconditionally trap is an important memory
saving. As the hot/cold splitting pass (imho) should not treat all
noreturn calls as cold, explicitly mark @llvm.trap cold so that it can
be outlined.
Split out of https://reviews.llvm.org/D54244.
Differential Revision: https://reviews.llvm.org/D54329
llvm-svn: 346885
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/TestStepScripted.py')
0 files changed, 0 insertions, 0 deletions