Skip to content

Commit 4ff98fd

Browse files
authored
[Linker] Update linkInModule() comment following change from bool OverrideSymbols to unsigned Flags (llvm#138531)
Original change: llvm@020d4fb.
1 parent f1985d5 commit 4ff98fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/include/llvm/Linker/Linker.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class Linker {
2525
public:
2626
enum Flags {
2727
None = 0,
28+
/// Have symbols from Src shadow those in the Dest.
2829
OverrideFromSrc = (1 << 0),
2930
LinkOnlyNeeded = (1 << 1),
3031
};
@@ -33,9 +34,6 @@ class Linker {
3334

3435
/// Link \p Src into the composite.
3536
///
36-
/// Passing OverrideSymbols as true will have symbols from Src
37-
/// shadow those in the Dest.
38-
///
3937
/// Passing InternalizeCallback will have the linker call the function with
4038
/// the new module and a list of global value names to be internalized by the
4139
/// callback.

0 commit comments

Comments
 (0)