Skip to content

[Linker] Update linkInModule() comment following change from bool OverrideSymbols to unsigned Flags #138531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions llvm/include/llvm/Linker/Linker.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
Expand All @@ -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.
Expand Down