llvm-project/llvm/test/tools/llvm-profgen/Inputs
Hongtao Yu 9f732af583 [llvm-profgen] Filter out oversized LBR ranges.
As a follow up to {D123271}, LBR ranges that are too big should also be considered as invalid.

For example, the last two pairs in the following trace form a range [0x0d7b02b0, 0x368ba706] that covers a ton of functions in the binary. Such oversized range should also be ignored.

   0x0c74505f/0x368b99a0 **0x368ba706**/0x0c745040  0x0d7b1c3f/**0x0d7b02b0**

Add a defensive check to filter out those ranges based that the valid range should not cross the unconditional branch(Call, return, unconditional jmp).

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D125448
2022-05-12 10:58:50 -07:00
..
artificial-branch.perfscript
callback-external-addr.perfbin
callback-external-addr.perfscript
cold-profile-trimming.raw.prof
coroutine.perfbin
coroutine.perfscript
cs-interrupt.perfscript [llvm-profgen] Decouple artificial branch from LBR parser and fix external address related issues 2022-04-28 16:07:28 -07:00
cs-invalid-ret-addr.perfscript
cs-preinline-cost.perfbin
cs-preinline-cost.perfscript
external-address.perfscript
fs-discriminator.perfbin
fs-discriminator.raw.prof
func-split.perfbin
func-split.perfscript
inline-cs-noprobe.perfbin
inline-cs-noprobe.perfscript
inline-cs-pseudoprobe.perfbin
inline-cs-pseudoprobe.perfscript
inline-noprobe.perfbin
inline-noprobe.perfscript
inline-noprobe2.perfbin
inline-noprobe2.perfscript
invalid-range.perfscript [llvm-profgen] Filter out oversized LBR ranges. 2022-05-12 10:58:50 -07:00
multi-load-segs.perfbin
multi-load-segs.perfscript
noinline-cs-noprobe.aggperfscript
noinline-cs-noprobe.perfbin
noinline-cs-noprobe.perfscript
noinline-cs-pseudoprobe.aggperfscript
noinline-cs-pseudoprobe.perfbin
noinline-cs-pseudoprobe.perfscript
noprobe.aggperfscript
noprobe.mmap.perfscript
noprobe.perfbin
noprobe.perfscript
out-of-bounds.raw.prof
profile-density-cs.raw.prof
profile-density.raw.prof
recursion-compression-noprobe.perfbin
recursion-compression-noprobe.perfscript
recursion-compression-pseudoprobe-nommap.perfscript
recursion-compression-pseudoprobe.perfbin
recursion-compression-pseudoprobe.perfscript
split-dwarf-single.exe
split-dwarf-single.o.yaml
split-dwarf-split.dwo.yaml
split-dwarf-split.exe
symbolize.ll
symbolize.perfbin
truncated-pseudoprobe.ll
truncated-pseudoprobe.perfbin
truncated-pseudoprobe.perfscript
unique-linkage-name-dwarf.perfbin
unique-linkage-name-dwarf.perfscript
unique-linkage-name-probe.perfbin
unique-linkage-name-probe.perfscript