Commit 265d6bda authored by Lang Hames's avatar Lang Hames
Browse files

[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.
parent c95f23b8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment