diff options
| author | Dean Michael Berris <dberris@google.com> | 2016-08-03 07:21:55 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2016-08-03 07:21:55 +0000 |
| commit | 0b8f6c87779f26be547a731caf91970d99c9fb82 (patch) | |
| tree | e9e0e7af5a05a8e20f0875232fcf532b5f3f22c1 /llvm/lib/Transforms/Utils/CloneFunction.cpp | |
| parent | d5b3d9e24b5e1a21de7372082ae52137ee0237ed (diff) | |
| download | llvm-0b8f6c87779f26be547a731caf91970d99c9fb82.zip llvm-0b8f6c87779f26be547a731caf91970d99c9fb82.tar.gz llvm-0b8f6c87779f26be547a731caf91970d99c9fb82.tar.bz2 | |
[XRay] Make the xray_instr_map section specification more correct
Summary:
We also add a test to show what currently happens when we create a
section per function and emit an xray_instr_map. This illustrates the
relationship (or lack thereof) between the per-function section and the
xray_instr_map section.
We also change the code generation slightly so that we don't always
create group sections, but rather only do so if a function where the
table is associated with is in a group.
Also in this change:
- Remove the "merge" flag on the xray_instr_map section.
- Test that we're generating the right table for comdat and non-comdat functions.
Reviewers: echristo, majnemer
Subscribers: llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D23104
llvm-svn: 277580
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions
