mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
0eee65899b
The linker or post-link optimizer can create an ELF image with multiple executable segments each of which will be loaded separately at run time. This breaks the assumption of llvm-profgen that currently only supports one base load address. What it ends up with is that the subsequent mmap events will be treated as an overwrite of the first mmap event which will in turn screw up address mapping. While it is non-trivial to support multiple separate load addresses and given that on x64 those segments will always be loaded at consecutive addresses (though via separate mmap sys calls), I'm adding an error checking logic to bail out if that's violated and keep using a single load address which is the address of the first executable segment. Also changing the disassembly output from printing section offset to printing the virtual address instead, which matches the behavior of objdump. Differential Revision: https://reviews.llvm.org/D103178 |
||
---|---|---|
.. | ||
dsymutil | ||
gold | ||
llc | ||
llvm-ar | ||
llvm-as | ||
llvm-cfi-verify | ||
llvm-config | ||
llvm-cov | ||
llvm-cvtres | ||
llvm-cxxdump | ||
llvm-cxxfilt | ||
llvm-cxxmap | ||
llvm-diff | ||
llvm-dis | ||
llvm-dlltool | ||
llvm-dwarfdump | ||
llvm-dwp | ||
llvm-elfabi | ||
llvm-exegesis | ||
llvm-extract | ||
llvm-gsymutil | ||
llvm-ifs | ||
llvm-isel-fuzzer | ||
llvm-lib | ||
llvm-libtool-darwin | ||
llvm-link | ||
llvm-lipo | ||
llvm-lit | ||
llvm-locstats | ||
llvm-lto | ||
llvm-lto2 | ||
llvm-mc | ||
llvm-mca | ||
llvm-ml | ||
llvm-modextract | ||
llvm-mt | ||
llvm-nm | ||
llvm-objcopy | ||
llvm-objdump | ||
llvm-opt-fuzzer | ||
llvm-opt-report | ||
llvm-original-di-preservation | ||
llvm-pdbutil | ||
llvm-profdata | ||
llvm-profgen | ||
llvm-ranlib | ||
llvm-rc | ||
llvm-readobj | ||
llvm-reduce | ||
llvm-sim | ||
llvm-size | ||
llvm-split | ||
llvm-strings | ||
llvm-symbolizer | ||
llvm-tapi-diff | ||
llvm-xray | ||
lto | ||
not | ||
obj2yaml | ||
opt-viewer | ||
sancov | ||
sanstats | ||
split-file | ||
UpdateTestChecks | ||
yaml2obj |