[LLVMbugs] [Bug 860] CommandLine errors are silent under llvm-gcc4

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Aug 2 13:23:56 PDT 2006


http://llvm.org/bugs/show_bug.cgi?id=860

jlaskey at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From jlaskey at apple.com  2006-08-02 15:23 -------
A null program name suppressed the output of error messages.

Index: gcc/llvm-backend.cpp
===============================================================
====
--- gcc/llvm-backend.cpp	(revision 116677)
+++ gcc/llvm-backend.cpp	(working copy)
@@ -80,7 +80,7 @@
void llvm_initialize_backend(void) {
   // Initialize LLVM options.
   std::vector<const char*> Args;
-  Args.push_back(0); // program name
+  Args.push_back(progname); // program name
   // Allow targets to specify PIC options and other stuff to the corresponding
   // LLVM backends.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list