[all-commits] [llvm/llvm-project] 9aa7a7: Test to check backtraces with machine function spl...
Sriraman Tallam via All-commits
all-commits at lists.llvm.org
Mon Oct 26 14:09:06 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9aa7a721ce3dc84d0ad2d987af72cf14ff76d8a7
https://github.com/llvm/llvm-project/commit/9aa7a721ce3dc84d0ad2d987af72cf14ff76d8a7
Author: Sriraman Tallam <tmsriram at google.com>
Date: 2020-10-26 (Mon, 26 Oct 2020)
Changed paths:
A lldb/test/Shell/Unwind/Inputs/split-machine-functions.ll
A lldb/test/Shell/Unwind/split-machine-functions.test
Log Message:
-----------
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
More information about the All-commits
mailing list