llvm-project/llvm/test/tools
Hongtao Yu 0712038458 [CSSPGO][llvm-profgen] Allow multiple executable load segments.
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
2021-07-13 18:22:24 -07:00
..
UpdateTestChecks [NFC] Update arm_function_name.ll after 4de0c40031 2021-06-23 16:41:43 +03:00
dsymutil [dsymutil tests] Try to make eh_frames.test run on other platforms 2021-05-28 15:49:31 -04:00
gold Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
llc
llvm-ar
llvm-as Patch by @wecing (Chenguang Wang). 2021-02-19 12:44:17 -08:00
llvm-cfi-verify
llvm-config
llvm-cov [llvm-cov gcov] Support GCC 12 format 2021-06-19 22:51:20 -07:00
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt [llvm-cxxfilt] Switch command line parsing from llvm::cl to OptTable 2021-07-09 10:10:45 -07:00
llvm-cxxmap
llvm-diff [llvm-diff] Explicitly check ConstantStructs for differences 2021-06-23 16:26:34 -07:00
llvm-dis Allow llvm-dis to disassemble multiple files 2021-05-06 11:08:55 -07:00
llvm-dlltool [llvm-dlltool] Imply the target arch from a tool triple prefix 2021-06-17 13:02:35 +03:00
llvm-dwarfdump Fix test - mistaken hardcoded path from my local machine. 2021-07-12 18:39:41 -07:00
llvm-dwp Fix llvm/test/tools/llvm-dwp/X86/type_dedup_v5.test 2021-06-02 20:28:26 -04:00
llvm-elfabi [test] Use host platform specific error message substitution in lit tests 2021-03-05 07:21:53 -05:00
llvm-exegesis [llvm-exegesis] SnippetFile: do create source manager in MCContext 2021-04-04 15:58:39 +03:00
llvm-extract
llvm-gsymutil Add --quiet option to llvm-gsymutil to suppress output of warnings. 2021-05-27 12:36:34 +00:00
llvm-ifs [llvm-ifs] Add option to use InterfaceStub library 2021-03-04 11:28:49 -08:00
llvm-isel-fuzzer
llvm-lib Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
llvm-libtool-darwin [llvm-libtool] Emit warnings for files without symbols 2021-02-16 17:52:12 -08:00
llvm-link [remangleIntrinsicFunction] Detect and resolve name clash 2021-07-13 11:21:12 +02:00
llvm-lipo
llvm-lit
llvm-locstats
llvm-lto [PATCH] fix location of test case 2021-03-15 09:34:24 -04:00
llvm-lto2
llvm-mc [MCParser][z/OS] Mark a few tests as unsupported for the z/OS Target 2021-07-05 11:06:52 -04:00
llvm-mca [AArch64] Set the latency of Cortex-A55 stores to 1 2021-07-12 13:39:35 +01:00
llvm-ml [ms] [llvm-ml] Standardize blocking of lexical substitution 2021-07-02 14:17:37 -04:00
llvm-modextract
llvm-mt
llvm-nm [llvm-nm][test] diff -q => diff to make AIX happy 2021-07-09 15:24:45 -07:00
llvm-objcopy [llvm-strip] Support grouped options in llvm-strip 2021-07-01 13:36:45 -07:00
llvm-objdump [llvm-objdump/mac] Print symbols at the same address deterministically 2021-06-30 22:38:07 -04:00
llvm-opt-fuzzer
llvm-opt-report
llvm-original-di-preservation Recommit: "[Debugify][Original DI] Test dbg var loc preservation"" 2021-05-21 02:04:29 -07:00
llvm-pdbutil [lld] Fixed CodeView GuidAdapter::format to handle GUID bytes in the right order. 2021-04-09 05:29:14 +04:00
llvm-profdata [llvm-profdata] Allow omission of -o for --text output 2021-06-21 12:01:57 -07:00
llvm-profgen [CSSPGO][llvm-profgen] Allow multiple executable load segments. 2021-07-13 18:22:24 -07:00
llvm-ranlib
llvm-rc [llvm-rc] Make commas in user data structs optional 2021-07-09 14:31:12 +03:00
llvm-readobj [LLD] Adding support for RELA for CG Profile. 2021-07-13 13:56:30 -07:00
llvm-reduce [llvm-reduce] Don't delete arguments of intrinsics 2021-06-21 12:43:58 -07:00
llvm-sim [IRSim] Adding basic implementation of llvm-sim. 2021-06-23 14:38:58 -05:00
llvm-size [llvm-size] Switch command line parsing from llvm::cl to OptTable 2021-07-09 10:26:53 -07:00
llvm-split
llvm-strings [llvm-strings] Switch command line parsing from llvm::cl to OptTable 2021-07-05 10:46:17 -07:00
llvm-symbolizer [WebAssembly] fix broken tools/llvm-symbolizer/wasm-basic.s test 2021-07-09 14:30:28 -07:00
llvm-tapi-diff Reland "[llvm] llvm-tapi-diff" 2021-06-09 21:17:34 -07:00
llvm-xray Fix JSON formatting when converting to trace event format 2021-02-10 13:00:28 +11:00
lto [llvm] Fix lto tests that requires ld64 2021-06-22 09:21:29 -07:00
not
obj2yaml [LLD][LLVM] CG Graph profile using relocations 2021-06-24 09:09:33 -07:00
opt-viewer
sancov
sanstats
split-file
yaml2obj [llvm-readobj] Switch command line parsing from llvm::cl to OptTable 2021-07-12 10:14:42 -07:00