aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorwlei <wlei@fb.com>2021-10-01 16:58:59 -0700
committerwlei <wlei@fb.com>2021-10-04 19:08:55 -0700
commit46cf7d75d90ade379dc22826dc0c8976d6e9838e (patch)
tree945efc45d51ba96f25fc19dec5b9dc0929b2e558 /llvm/lib/CodeGen/StackProtector.cpp
parentfb29d812e4a536ee1ee81566fd584902f21f4ecb (diff)
downloadllvm-46cf7d75d90ade379dc22826dc0c8976d6e9838e.zip
llvm-46cf7d75d90ade379dc22826dc0c8976d6e9838e.tar.gz
llvm-46cf7d75d90ade379dc22826dc0c8976d6e9838e.tar.bz2
[llvm-profgen] Add duplication factor for line-number based profile
This change adds duplication factor multiplier while accumulating body samples for line-number based profile. The body sample count will be `duplication-factor * count`. Base discriminator and duplication factor is decoded from the raw discriminator, this requires some refactor works. Differential Revision: https://reviews.llvm.org/D109934
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions