[llvm] 4ff98fd - [Linker] Update `linkInModule()` comment following change from `bool OverrideSymbols` to `unsigned Flags` (#138531)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 5 22:57:20 PDT 2025
Author: Boaz Brickner
Date: 2025-05-06T07:57:16+02:00
New Revision: 4ff98fd2f8f8c086f097d704308dc8f1d5b79f0b
URL: https://github.com/llvm/llvm-project/commit/4ff98fd2f8f8c086f097d704308dc8f1d5b79f0b
DIFF: https://github.com/llvm/llvm-project/commit/4ff98fd2f8f8c086f097d704308dc8f1d5b79f0b.diff
LOG: [Linker] Update `linkInModule()` comment following change from `bool OverrideSymbols` to `unsigned Flags` (#138531)
Original change:
https://github.com/llvm/llvm-project/commit/020d4fb17f92410117bc858f586fead7c5088696.
Added:
Modified:
llvm/include/llvm/Linker/Linker.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Linker/Linker.h b/llvm/include/llvm/Linker/Linker.h
index ac8041d8df1af..f8bc2837b413a 100644
--- a/llvm/include/llvm/Linker/Linker.h
+++ b/llvm/include/llvm/Linker/Linker.h
@@ -25,6 +25,7 @@ class Linker {
public:
enum Flags {
None = 0,
+ /// Have symbols from Src shadow those in the Dest.
OverrideFromSrc = (1 << 0),
LinkOnlyNeeded = (1 << 1),
};
@@ -33,9 +34,6 @@ class Linker {
/// Link \p Src into the composite.
///
- /// Passing OverrideSymbols as true will have symbols from Src
- /// shadow those in the Dest.
- ///
/// Passing InternalizeCallback will have the linker call the function with
/// the new module and a list of global value names to be internalized by the
/// callback.
More information about the llvm-commits
mailing list