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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to