[LLVMbugs] [Bug 12301] New: llvm-bcanalyzer prints to stderr, not to stdout as the documentation states

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 18 18:00:53 PDT 2012


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

             Bug #: 12301
           Summary: llvm-bcanalyzer prints to stderr, not to stdout as the
                    documentation states
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-bcanalyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jmsachs at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I built clang from macports yesterday ("port install clang-3.1") and have been
trying out the various tools. I ran llvm-bcanalyzer and went to redirect it to
a file, and it printed out on the console despite my redirect. It only
redirected to a file when I ran "llvm-bcanalyzer -dump {bc-filename}
2>dump.txt". So presumably the program is writing to stderr, not stdout.

Version info here; I'm on OSX 10.6

LLVM (http://llvm.org/):
  LLVM version 3.1svn
  Optimized build with assertions.
  Built Feb 26 2012 (15:00:03).
  Default target: x86_64-apple-darwin10.8.0
  Host CPU: penryn

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list