aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPaschalis Mpeis <paschalis.mpeis@arm.com>2024-11-25 13:12:43 +0000
committerGitHub <noreply@github.com>2024-11-25 13:12:43 +0000
commit4b71b3782d217db0138b701c4514bd2168ca1659 (patch)
tree28a94e4bcfc5bed3fde492b9941c85b7b64f8211 /clang/lib/CodeGen/CodeGenModule.cpp
parentb5a11d378db4b39ceb085ebd59c941e9369d9596 (diff)
downloadllvm-4b71b3782d217db0138b701c4514bd2168ca1659.zip
llvm-4b71b3782d217db0138b701c4514bd2168ca1659.tar.gz
llvm-4b71b3782d217db0138b701c4514bd2168ca1659.tar.bz2
[BOLT] DataAggregator support for binaries with multiple text segments (#92815)
When a binary has multiple text segments, the Size is computed as the difference of the last address of these segments from the BaseAddress. The base addresses of all text segments must be the same. Introduces flag 'perf-script-events' for testing. It allows passing perf events without BOLT having to parse them using 'perf script'. The flag is used to pass a mock perf profile that has two memory mappings for a mock binary that has two text segments. The size of the mapping is updated as this change `parseMMapEvents` processes all text segments.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions