summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEric Beckmann <ecbeckmann@google.com>2017-07-17 23:36:13 +0000
committerEric Beckmann <ecbeckmann@google.com>2017-07-17 23:36:13 +0000
commite5574553c87289d826180fefe582afc414e01393 (patch)
tree5f078b002909f33a137ee5182b3d1339148e646a /tools
parentf056d571ba1466a160905b6d4c84e38c8527cd97 (diff)
Adding yet more debug info to fix fedora issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-mt/llvm-mt.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/llvm-mt/llvm-mt.cpp b/tools/llvm-mt/llvm-mt.cpp
index d2c5141cbc70..8ac64420ee7f 100644
--- a/tools/llvm-mt/llvm-mt.cpp
+++ b/tools/llvm-mt/llvm-mt.cpp
@@ -68,6 +68,11 @@ LLVM_ATTRIBUTE_NORETURN void reportError(Twine Msg) {
}
int main(int argc, const char **argv) {
+ errs() << "very start\n";
+ for (int i = 0; i < argc; i++ ) {
+ errs() << argv[i] << "\n";
+ }
+
sys::PrintStackTraceOnErrorSignal(argv[0]);
PrettyStackTraceProgram X(argc, argv);
@@ -85,6 +90,7 @@ int main(int argc, const char **argv) {
ArrayRef<const char *> ArgsArr = makeArrayRef(argv, argc);
opt::InputArgList InputArgs = T.ParseArgs(ArgsArr, MAI, MAC);
+ errs() << "after\n";
for (int i = 0; i < argc; i++ ) {
errs() << argv[i] << "\n";
}