Skip to content

Commit

Permalink
Random note so I remember how to do this :)
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62344 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Jan 16, 2009
1 parent e2916d6 commit eab819b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ To time GCC preprocessing speed without output, use:
"time gcc -MM file"
This is similar to -Eonly.

//===---------------------------------------------------------------------===//

Creating and using a PTH file for performance measurement (use a release-asserts
build).

$ clang -x objective-c-header INPUTS/Cocoa_h.m -o /tmp/tokencache
$ clang -token-cache /tmp/tokencache INPUTS/Cocoa_h.m

//===---------------------------------------------------------------------===//

Expand Down

0 comments on commit eab819b

Please sign in to comment.