Skip to content

Commit 9e35525

Browse files
committed
[lld-macho] Remove old macho darwin lld
During the llvm round table it was generally agreed that the newer macho lld implementation is feature complete enough to replace the old implementation entirely. This will reduce confusion for new users who aren't aware of the history. Differential Revision: https://reviews.llvm.org/D114842
1 parent 98dd2f9 commit 9e35525

File tree

244 files changed

+7
-36441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+7
-36441
lines changed

lld/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,10 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
195195
endif()
196196

197197
add_subdirectory(Common)
198-
add_subdirectory(lib)
199198
add_subdirectory(tools/lld)
200199

201200
if (LLVM_INCLUDE_TESTS)
202201
add_subdirectory(test)
203-
add_subdirectory(unittests)
204202
endif()
205203

206204
add_subdirectory(docs)

lld/include/lld/Common/Driver.h

-5
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
4242
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
4343
}
4444

45-
namespace mach_o {
46-
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
47-
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);
48-
}
49-
5045
namespace macho {
5146
bool link(llvm::ArrayRef<const char *> args, bool canExitEarly,
5247
llvm::raw_ostream &stdoutOS, llvm::raw_ostream &stderrOS);

lld/include/lld/Core/Reference.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ class Reference {
4242
public:
4343
/// Which universe defines the kindValue().
4444
enum class KindNamespace {
45-
all = 0,
45+
all = 0,
4646
testing = 1,
47-
mach_o = 2,
4847
};
4948

5049
KindNamespace kindNamespace() const { return (KindNamespace)_kindNamespace; }

0 commit comments

Comments
 (0)