[all-commits] [llvm/llvm-project] dc93b1: [profile] Delete zero-size dummy sections
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Feb 28 21:07:48 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc93b1127c5e0621e672745d26bce5a11f68d943
https://github.com/llvm/llvm-project/commit/dc93b1127c5e0621e672745d26bce5a11f68d943
Author: Fangrui Song <i at maskray.me>
Date: 2021-02-28 (Sun, 28 Feb 2021)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
Log Message:
-----------
[profile] Delete zero-size dummy sections
They were added so that if no metadata section is present,
`__start_llvm_prf_*` references would not cause "undefined symbol"
errors. By switching to undefined weak symbols in D96936, the dummy
sections are not needed.
This patch is also needed to work around
https://sourceware.org/bugzilla/show_bug.cgi?id=27490
Differential Revision: https://reviews.llvm.org/D97648
More information about the All-commits
mailing list