aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker-eph@gmail.com>2020-02-12 09:03:40 +0000
committerMehdi Amini <joker-eph@gmail.com>2020-02-12 09:13:02 +0000
commitc64770506b89a2376fe13080bc3b72789e6c752d (patch)
tree9c3c5629dc0c413c7ae92ec0223dffad68dc7571 /llvm/lib/CodeGen/MachineFunction.cpp
parent24856002e066347b2f65226d398c92a7472105c5 (diff)
downloadllvm-c64770506b89a2376fe13080bc3b72789e6c752d.zip
llvm-c64770506b89a2376fe13080bc3b72789e6c752d.tar.gz
llvm-c64770506b89a2376fe13080bc3b72789e6c752d.tar.bz2
Remove static registration for dialects, and the "alwayslink" hack for passes
In the previous state, we were relying on forcing the linker to include all libraries in the final binary and the global initializer to self-register every piece of the system. This change help moving away from this model, and allow users to compose pieces more freely. The current change is only "fixing" the dialect registration and avoiding relying on "whole link" for the passes. The translation is still relying on the global registry, and some refactoring is needed to make this all more convenient. Differential Revision: https://reviews.llvm.org/D74461
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions