aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/SampleProf.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-06-16 10:08:20 -0700
committerFangrui Song <i@maskray.me>2021-06-16 10:08:20 -0700
commit1de18ad8d79eb328ad410fa60209e5dfa19752c8 (patch)
treedb67bfd7889ee7824e56a7594e4b7efb16c993ec /llvm/lib/ProfileData/SampleProf.cpp
parent2193347e72fad6a78ce4a96c8d89f9a43a028e79 (diff)
downloadllvm-1de18ad8d79eb328ad410fa60209e5dfa19752c8.zip
llvm-1de18ad8d79eb328ad410fa60209e5dfa19752c8.tar.gz
llvm-1de18ad8d79eb328ad410fa60209e5dfa19752c8.tar.bz2
[llvm-objcopy] Make ihex writer similar to binary writer
There is no need to differentiate whether `UseSegments` is true or false. Unifying the cases makes the behavior closer to BinaryWriter. This improves compatibility with objcopy because SHF_ALLOC sections not in a PT_LOAD will not be skipped. Such cases are usually erroneous input, though. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D104186
Diffstat (limited to 'llvm/lib/ProfileData/SampleProf.cpp')
0 files changed, 0 insertions, 0 deletions