[llvm] r331610 - [llvm-dwp] Define InitLLVM.
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun May 6 16:08:29 PDT 2018
Author: maskray
Date: Sun May 6 16:08:29 2018
New Revision: 331610
URL: http://llvm.org/viewvc/llvm-project?rev=331610&view=rev
Log:
[llvm-dwp] Define InitLLVM.
Modified:
llvm/trunk/tools/llvm-dwp/llvm-dwp.cpp
Modified: llvm/trunk/tools/llvm-dwp/llvm-dwp.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-dwp/llvm-dwp.cpp?rev=331610&r1=331609&r2=331610&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-dwp/llvm-dwp.cpp (original)
+++ llvm/trunk/tools/llvm-dwp/llvm-dwp.cpp Sun May 6 16:08:29 2018
@@ -32,6 +32,7 @@
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
+#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
@@ -640,6 +641,7 @@ static int error(const Twine &Error, con
}
int main(int argc, char **argv) {
+ InitLLVM X(argc, argv);
ParseCommandLineOptions(argc, argv, "merge split dwarf (.dwo) files");
More information about the llvm-commits
mailing list