[JITLink] Add a shouldAddDefaultPasses predicate to JITLinkerBase.
This allows JITLinkerBase implementations to check whether default passes should be added. The ELF_x86_64 backend is updated to check this predicate before installing the getOrCreateGOTSymbol pass. This is an alternative solution to https://reviews.llvm.org/D158909.
Loading
Please sign in to comment