Skip to content

Commit

Permalink
Revert "[JITLink][AArch64] Add support for splitting eh-frames on AAr…
Browse files Browse the repository at this point in the history
…ch64."

This reverts commit 253ce92.
Breaks tests on Windows, see
#52921 (comment)
  • Loading branch information
nico committed Jan 12, 2022
1 parent 33d008b commit 66b2ed4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 108 deletions.
7 changes: 0 additions & 7 deletions llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
Expand Up @@ -709,13 +709,6 @@ void link_MachO_arm64(std::unique_ptr<LinkGraph> G,
Config.PrePrunePasses.push_back(
CompactUnwindSplitter("__LD,__compact_unwind"));

// Add eh-frame passses.
// FIXME: Prune eh-frames for which compact-unwind is available once
// we support compact-unwind registration with libunwind.
Config.PrePrunePasses.push_back(EHFrameSplitter("__TEXT,__eh_frame"));
Config.PrePrunePasses.push_back(
EHFrameEdgeFixer("__TEXT,__eh_frame", 8, Delta64, Delta32, NegDelta32));

// Add an in-place GOT/Stubs pass.
Config.PostPrunePasses.push_back(
PerGraphGOTAndPLTStubsBuilder_MachO_arm64::asPass);
Expand Down
101 changes: 0 additions & 101 deletions llvm/test/ExecutionEngine/JITLink/AArch64/MachO_arm64_ehframe.s

This file was deleted.

0 comments on commit 66b2ed4

Please sign in to comment.