diff options
author | Andrés Villegas <andresvi@google.com> | 2023-08-11 01:32:31 +0000 |
---|---|---|
committer | Andrés Villegas <andresvi@google.com> | 2023-08-17 23:26:51 +0000 |
commit | d5ca900414465b91f5db37c53b98dd4452b69830 (patch) | |
tree | 87de83cea6fb3513f5a2367737803d34eae921cf /llvm/tools/llvm-ml/llvm-ml.cpp | |
parent | c296c35e9e2f9338d68a43865bc5e5cfa71b58cf (diff) | |
download | llvm-d5ca900414465b91f5db37c53b98dd4452b69830.zip llvm-d5ca900414465b91f5db37c53b98dd4452b69830.tar.gz llvm-d5ca900414465b91f5db37c53b98dd4452b69830.tar.bz2 |
[llvm-{debuginfod,ml,objdump,symbolizer}, dsymutil] Enable multicall driver
Differential Revision: https://reviews.llvm.org/D157670
Diffstat (limited to 'llvm/tools/llvm-ml/llvm-ml.cpp')
-rw-r--r-- | llvm/tools/llvm-ml/llvm-ml.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ml/llvm-ml.cpp b/llvm/tools/llvm-ml/llvm-ml.cpp index f8e4734..4d6bd90 100644 --- a/llvm/tools/llvm-ml/llvm-ml.cpp +++ b/llvm/tools/llvm-ml/llvm-ml.cpp @@ -35,6 +35,7 @@ #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" @@ -185,7 +186,7 @@ static int AssembleInput(StringRef ProgName, const Target *TheTarget, return Res; } -int main(int Argc, char **Argv) { +int llvm_ml_main(int Argc, char **Argv, const llvm::ToolContext &) { InitLLVM X(Argc, Argv); StringRef ProgName = sys::path::filename(Argv[0]); |