diff options
author | Fangrui Song <i@maskray.me> | 2021-06-17 14:16:54 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-06-17 14:16:54 -0700 |
commit | 76d0747e0807307780ba84cbd7e5c80b20c26bd7 (patch) | |
tree | 252f69424625ba27c7be64086470334b19b0e303 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 99e95856fb785cb22d898e963a54e8d9a8459fc7 (diff) | |
download | llvm-76d0747e0807307780ba84cbd7e5c80b20c26bd7.zip llvm-76d0747e0807307780ba84cbd7e5c80b20c26bd7.tar.gz llvm-76d0747e0807307780ba84cbd7e5c80b20c26bd7.tar.bz2 |
[InstrProfiling] Make __profd_ unconditionally private for ELF
For ELF, since all counters/data are in a section group (either `comdat any` or
`comdat noduplicates`), and the signature for `comdat any` is `__profc_`, the
D1003372 optimization prerequisite (linker GC cannot discard data variables
while the text section is retained) is always satisified, we can make __profd_
unconditionally private.
Reviewed By: davidxl, rnk
Differential Revision: https://reviews.llvm.org/D103717
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions