[all-commits] [llvm/llvm-project] 0e2ed9: [AIX][PGO] Teach profile runtime to read build-id
Wael Yehia via All-commits
all-commits at lists.llvm.org
Wed Mar 29 08:17:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e2ed90516ee834ca78f4974a7aebcba1a302eb0
https://github.com/llvm/llvm-project/commit/0e2ed90516ee834ca78f4974a7aebcba1a302eb0
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingInternal.h
M compiler-rt/lib/profile/InstrProfilingPlatformAIX.c
M compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
M compiler-rt/lib/profile/InstrProfilingWriter.c
A compiler-rt/test/profile/AIX/binary-id-shared.c
A compiler-rt/test/profile/AIX/binary-id.c
Log Message:
-----------
[AIX][PGO] Teach profile runtime to read build-id
On AIX, the build-id can be embedded in a binary using the -mxcoff-build-id
compiler option. When present, the build id is stored as an ascii string at the
beginning of the string table in the loader section of the XCOFF file.
Reviewed By: stephenpeckham, daltenty
Differential Revision: https://reviews.llvm.org/D146976
More information about the All-commits
mailing list