diff options
| author | Amir Ayupov <aaupov@fb.com> | 2021-06-07 13:17:00 -0700 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2021-06-07 13:17:00 -0700 |
| commit | 8ec73e96b72d04787ed606cfbb62a7a2a05b3711 (patch) | |
| tree | 52aa2261c55d18216f21f1d005f85146ab7a024a /libcxx/include/__algorithm/generate.h | |
| parent | 75521bd9d8d1e39b1a765a14d95c49291d2adde5 (diff) | |
| download | llvm-8ec73e96b72d04787ed606cfbb62a7a2a05b3711.zip llvm-8ec73e96b72d04787ed606cfbb62a7a2a05b3711.tar.gz llvm-8ec73e96b72d04787ed606cfbb62a7a2a05b3711.tar.bz2 | |
[ELF] getRelocatedSection: remove the check for ET_REL object file
getRelocatedSection interface should not check that the object file is
relocatable, as executable files may have relocations preserved with
`--emit-relocs` linker flag. The relocations are useful in context of post-link
binary analysis for function reference identification. For example, BOLT relies
on relocations to perform function reordering.
Reviewed By: MaskRay, jhenderson
Differential Revision: https://reviews.llvm.org/D102296
Diffstat (limited to 'libcxx/include/__algorithm/generate.h')
0 files changed, 0 insertions, 0 deletions
