/// Append F to the list of global ctors of module M with the given Priority.
/// This wraps the function in the appropriate structure and stores it along
/// side other global constructors. For details see
-/// http://llvm.org/docs/LangRef.html#intg_global_ctors
+/// https://llvm.org/docs/LangRef.html#the-llvm-global-ctors-global-variable
void appendToGlobalCtors(Module &M, Function *F, int Priority,
Constant *Data = nullptr);
addPass(&ShadowStackGCLoweringID);
addPass(createLowerConstantIntrinsicsPass());
- // For MachO, lower @llvm.global_dtors into @llvm_global_ctors with
+ // For MachO, lower @llvm.global_dtors into @llvm.global_ctors with
// __cxa_atexit() calls to avoid emitting the deprecated __mod_term_func.
if (TM->getTargetTriple().isOSBinFormatMachO() &&
TM->Options.LowerGlobalDtorsViaCxaAtExit)
// Add signatures to prototype-less function declarations
addPass(createWebAssemblyAddMissingPrototypes());
- // Lower .llvm.global_dtors into .llvm_global_ctors with __cxa_atexit calls.
+ // Lower .llvm.global_dtors into .llvm.global_ctors with __cxa_atexit calls.
addPass(createLowerGlobalDtorsLegacyPass());
// Fix function bitcasts, as WebAssembly requires caller and callee signatures