aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2020-10-26 13:42:18 -0700
committerSriraman Tallam <tmsriram@google.com>2020-10-26 14:08:42 -0700
commit9aa7a721ce3dc84d0ad2d987af72cf14ff76d8a7 (patch)
tree2d0d4139c856d334f4328a459f26f1308675e6cf /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentd4c667c9af0335ac20015decce204c43f03a6cee (diff)
downloadllvm-9aa7a721ce3dc84d0ad2d987af72cf14ff76d8a7.zip
llvm-9aa7a721ce3dc84d0ad2d987af72cf14ff76d8a7.tar.gz
llvm-9aa7a721ce3dc84d0ad2d987af72cf14ff76d8a7.tar.bz2
Test to check backtraces with machine function splitting.
clang supports option -fsplit-machine-functions and this test checks if the backtraces are sane when functions are split. With -fsplit-machine-functions, a function with profiles can get split into 2 parts, the original function containing hot code and a cold part as determined by the profile info and the cold cutoff threshold.. The cold part gets the ".cold" suffix to disambiguate its symbol from the hot part and can be placed arbitrarily in the address space. This test checks if the back-trace looks correct when the cold part is executed. Differential Revision: https://reviews.llvm.org/D90081
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions