[all-commits] [llvm/llvm-project] a41bfe: [MC] Simplify ELFObjectWriter. NFC
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Mar 27 22:10:36 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a41bfea5c049737e9c51e8d9a5769f72fbc55f59
https://github.com/llvm/llvm-project/commit/a41bfea5c049737e9c51e8d9a5769f72fbc55f59
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-27 (Wed, 27 Mar 2024)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
Log Message:
-----------
[MC] Simplify ELFObjectWriter. NFC
And fix `if (hasRelocationAddend())` to `usesRela` to properly treat
SHT_LLVM_CALL_GRAPH_PROFILE as SHT_REL. The incorrect does not cause a
problem because the synthesized SHT_LLVM_CALL_GRAPH_PROFILE has zero
addends.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list