Make stuff compiled with gccld not dump into the debugger if there's a problem
authorChris Lattner <sabre@nondot.org>
Sat, 14 Dec 2002 21:28:32 +0000 (21:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Dec 2002 21:28:32 +0000 (21:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5028 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccld/gccld.cpp

index 51131052b42074104add1b148bf648b649004c29..5d1a35f8a884da1a95a386e0d2ea1dfac59a5068 100644 (file)
@@ -185,7 +185,7 @@ int main(int argc, char **argv) {
          << "' for writing!\n";
     return 1;
   }
-  Out2 << "#!/bin/sh\nlli -q $0.bc $*\n";
+  Out2 << "#!/bin/sh\nlli -q -abort-on-exception $0.bc $*\n";
   Out2.close();
   
   // Make the script executable...