Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/LTO/LTO.h
Show First 20 Lines • Show All 359 Lines • ▼ Show 20 Lines | Error runThinLTO(AddStreamFn AddStream, NativeObjectCache Cache, | ||||
bool HasRegularLTO); | bool HasRegularLTO); | ||||
mutable bool CalledGetMaxTasks = false; | mutable bool CalledGetMaxTasks = false; | ||||
}; | }; | ||||
/// The resolution for a symbol. The linker must provide a SymbolResolution for | /// The resolution for a symbol. The linker must provide a SymbolResolution for | ||||
/// each global symbol based on its internal resolution of that symbol. | /// each global symbol based on its internal resolution of that symbol. | ||||
struct SymbolResolution { | struct SymbolResolution { | ||||
SymbolResolution() | SymbolResolution() | ||||
: Prevailing(0), FinalDefinitionInLinkageUnit(0), VisibleToRegularObj(0) { | : Prevailing(0), FinalDefinitionInLinkageUnit(0), VisibleToRegularObj(0), | ||||
} | LinkerRedefined(0) {} | ||||
davide: Is this formatted? Doesn't seem so. | |||||
/// The linker has chosen this definition of the symbol. | /// The linker has chosen this definition of the symbol. | ||||
unsigned Prevailing : 1; | unsigned Prevailing : 1; | ||||
/// The definition of this symbol is unpreemptable at runtime and is known to | /// The definition of this symbol is unpreemptable at runtime and is known to | ||||
/// be in this linkage unit. | /// be in this linkage unit. | ||||
unsigned FinalDefinitionInLinkageUnit : 1; | unsigned FinalDefinitionInLinkageUnit : 1; | ||||
/// The definition of this symbol is visible outside of the LTO unit. | /// The definition of this symbol is visible outside of the LTO unit. | ||||
unsigned VisibleToRegularObj : 1; | unsigned VisibleToRegularObj : 1; | ||||
/// Linker redefined version of the symbol which appeared in -wrap or -defsym | |||||
/// linker option. | |||||
unsigned LinkerRedefined : 1; | |||||
Not Done ReplyInline ActionsI'd say, LinkerRedefined. davide: I'd say, `LinkerRedefined`. | |||||
Not Done ReplyInline ActionsI'll change this. dmikulin: I'll change this. | |||||
}; | }; | ||||
} // namespace lto | } // namespace lto | ||||
} // namespace llvm | } // namespace llvm | ||||
#endif | #endif |
Is this formatted? Doesn't seem so.