Go to file
Sanjoy Das 23f06e53d8 [Stackmap] Added callsite counts to emitted function information.
Summary:
It was previously not possible for tools to use solely the stackmap
information emitted to reconstruct the return addresses of callsites in
the map, which is necessary to use the information to walk a stack. This
patch adds per-function callsite counts when emitting the stackmap
section in order to resolve the problem. Note that this slightly alters
the stackmap format, so external tools parsing these maps will need to
be updated.

**Problem Details:**
Records only store their offset from the beginning of the function they
belong to. While these records and the functions are output in program
order, it is not possible to determine where the end of one function's
records are without the callsite count when processing the records to
compute return addresses.

Patch by Kavon Farvardin!

Reviewers: atrick, ributzka, sanjoy

Subscribers: nemanjai

Differential Revision: https://reviews.llvm.org/D23487

llvm-svn: 281532
2016-09-14 20:22:03 +00:00
clang Revert "Do not warn about format strings that are indexed string literals." 2016-09-14 20:20:14 +00:00
clang-tools-extra [Release notes] Mention readability-container-size-empty improvements. 2016-09-14 17:41:51 +00:00
compiler-rt [compiler-rt] Set asan win 64-bits to use dynamic address for memory allocator 2016-09-14 19:23:21 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Replace nextafter implementation 2016-09-08 16:37:56 +00:00
libcxx [libcxx] Add a TSan regression test for a data race in call_once 2016-09-14 14:15:42 +00:00
libcxxabi [lit] Replace print with lit_config.note(). 2016-09-02 13:56:05 +00:00
libunwind Add missing _US_ACTION_MASK constant to unwind.h 2016-09-05 18:01:13 +00:00
lld Handle arbitrary expressions in DATA_SEGMENT_RELRO_END. 2016-09-14 19:14:01 +00:00
lldb Use 'enum class' instead of 'enum' in NativeRegisterContextLinux_x86_x64. 2016-09-14 20:12:12 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [Stackmap] Added callsite counts to emitted function information. 2016-09-14 20:22:03 +00:00
openmp [cmake] Make libgomp & libiomp5 alias install optional 2016-09-14 17:46:27 +00:00
parallel-libs [SE] Add CUDA platform 2016-09-14 19:58:34 +00:00
polly Perform copying to created arrays according to the packing transformation 2016-09-14 06:26:09 +00:00