aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2022-03-23 15:40:52 -0700
committerZequan Wu <zequanwu@google.com>2022-03-23 16:11:54 -0700
commit581dc3c729c619fe636325a79279fabb2acdc1ce (patch)
tree98afe38d3c3770f8c91f13de319cbf5833f360e5 /llvm/lib/CodeGen/CodeGen.cpp
parentd3ebefb1541b1489d998f6316f136371d92f7c74 (diff)
downloadllvm-581dc3c729c619fe636325a79279fabb2acdc1ce.zip
llvm-581dc3c729c619fe636325a79279fabb2acdc1ce.tar.gz
llvm-581dc3c729c619fe636325a79279fabb2acdc1ce.tar.bz2
Revert "Lower `@llvm.global_dtors` using `__cxa_atexit` on MachO"
This reverts commit 22570bac694396514fff18dec926558951643fa6.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index d501838..7e7fb42 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -58,7 +58,6 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeLiveStacksPass(Registry);
initializeLiveVariablesPass(Registry);
initializeLocalStackSlotPassPass(Registry);
- initializeLowerGlobalDtorsLegacyPassPass(Registry);
initializeLowerIntrinsicsPass(Registry);
initializeMIRAddFSDiscriminatorsPass(Registry);
initializeMIRCanonicalizerPass(Registry);