aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-ml/llvm-ml.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2023-08-17 07:59:29 +0000
committerPetr Hosek <phosek@google.com>2023-08-17 07:59:29 +0000
commit99f8751c1509e66ca8401886c756751ac94bc222 (patch)
tree849c3b44eb200da247801572de469e6ad88fce37 /llvm/tools/llvm-ml/llvm-ml.cpp
parent4a235f65fa8a9c4c295a1779575ccb427de68733 (diff)
downloadllvm-99f8751c1509e66ca8401886c756751ac94bc222.zip
llvm-99f8751c1509e66ca8401886c756751ac94bc222.tar.gz
llvm-99f8751c1509e66ca8401886c756751ac94bc222.tar.bz2
Revert "[llvm-{debuginfod,ml,objdump,symbolizer}, dsymutil] Enable multicall driver"
This reverts commit 2628fa3351b021d2ab82dcd833a14d7b52840a01 since it broke the multicall driver build.
Diffstat (limited to 'llvm/tools/llvm-ml/llvm-ml.cpp')
-rw-r--r--llvm/tools/llvm-ml/llvm-ml.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ml/llvm-ml.cpp b/llvm/tools/llvm-ml/llvm-ml.cpp
index 4d6bd90..f8e4734 100644
--- a/llvm/tools/llvm-ml/llvm-ml.cpp
+++ b/llvm/tools/llvm-ml/llvm-ml.cpp
@@ -35,7 +35,6 @@
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/InitLLVM.h"
-#include "llvm/Support/LLVMDriver.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
@@ -186,7 +185,7 @@ static int AssembleInput(StringRef ProgName, const Target *TheTarget,
return Res;
}
-int llvm_ml_main(int Argc, char **Argv, const llvm::ToolContext &) {
+int main(int Argc, char **Argv) {
InitLLVM X(Argc, Argv);
StringRef ProgName = sys::path::filename(Argv[0]);