[LLVMbugs] [Bug 14084] New: --help shows -time and -print-stats; yet, driver does not recognize them

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 15 04:36:09 PDT 2012


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

             Bug #: 14084
           Summary: --help shows -time and -print-stats; yet, driver does
                    not recognize them
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: cppljevans at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Neither the -time or -print-stats flag is recognized by the driver
even though both appear in the --help output:

make compiler_help_driver MAIN=test
/home/evansl/download/llvm/svn/install/bin/clang --help|grep -e ' -time\|
-print-stat'
  -print-stats            Print performance metrics and statistics
  -time                   Time individual commands
/home/evansl/download/llvm/svn/install/bin/clang -time -print-stats -c test.cpp
clang: warning: argument unused during compilation: '-time'
clang: warning: argument unused during compilation: '-print-stats'
/home/evansl/download/llvm/svn/install/bin/clang -v
clang version 3.2 (trunk 165317)
Target: x86_64-unknown-linux-gnu
Thread model: posix
uname -a
Linux evansl-desktop 2.6.32-41-generic #90-Ubuntu SMP Tue May 22 11:29:51 UTC
2012 x86_64 GNU/Linux

-- 
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