if other hooks are missing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64812
91177308-0d34-0410-b5e6-
96231b3b80d8
}
}
- if (!registeredClaimFile || !registeredAllSymbolsRead || !registeredCleanup ||
- !add_symbols || !get_symbols || !add_input_file) {
- (*message)(LDPL_ERROR, "Not all hooks registered for LLVMgold.");
- return LDPS_ERR;
- }
+ if (!registeredClaimFile)
+ {
+ (*message)(LDPL_ERROR, "register_claim_file not passed to LLVMgold.");
+ return LDPS_ERR;
+ }
+ if (!add_symbols)
+ {
+ (*message)(LDPL_ERROR, "add_symbols not passed to LLVMgold.");
+ return LDPS_ERR;
+ }
return LDPS_OK;
}