[all-commits] [llvm/llvm-project] bb627b: [BOLT] Ignore special symbols as function aliases ...
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Mon May 20 16:55:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb627b0a0c05e0bb04ae7f984b8e7fcd84906061
https://github.com/llvm/llvm-project/commit/bb627b0a0c05e0bb04ae7f984b8e7fcd84906061
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/runtime/X86/hot-end-symbol.s
Log Message:
-----------
[BOLT] Ignore special symbols as function aliases in updateELFSymbolTable
Exempt special symbols (hot text/data and _end symbol) from normal
handling. We only need to set their value and make them absolute.
If these symbols are handled as normal symbols and if they alias
functions we may create non-sensical symbols, e.g. __hot_start.cold.
Test Plan: updated hot-end-symbol.s
Reviewers: maksfb, rafaelauler, ayermolo, dcci
Reviewed By: dcci, maksfb
Pull Request: https://github.com/llvm/llvm-project/pull/92713
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