[all-commits] [llvm/llvm-project] c683e2: [BOLT] Properly set _end symbol
maksfb via All-commits
all-commits at lists.llvm.org
Fri Oct 7 11:19:40 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c683e281cdc99b04497d5102c28be0d2e991c9f6
https://github.com/llvm/llvm-project/commit/c683e281cdc99b04497d5102c28be0d2e991c9f6
Author: Maksim Panchenko <maks at fb.com>
Date: 2022-10-07 (Fri, 07 Oct 2022)
Changed paths:
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
A bolt/test/X86/end-symbol.test
Log Message:
-----------
[BOLT] Properly set _end symbol
To properly set the "_end" symbol, we need to track the last allocatable
address. Simply emitting "_end" at the end of some section is not
sufficient since the order of section allocation is unknown during the
emission step.
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D135121
More information about the All-commits
mailing list