Skip to content

Commit 972347d

Browse files
committed
Random note so I remember how to do this :)
llvm-svn: 62344
1 parent 0d733b5 commit 972347d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clang/NOTES.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ To time GCC preprocessing speed without output, use:
1111
"time gcc -MM file"
1212
This is similar to -Eonly.
1313

14+
//===---------------------------------------------------------------------===//
15+
16+
Creating and using a PTH file for performance measurement (use a release-asserts
17+
build).
18+
19+
$ clang -x objective-c-header INPUTS/Cocoa_h.m -o /tmp/tokencache
20+
$ clang -token-cache /tmp/tokencache INPUTS/Cocoa_h.m
1421

1522
//===---------------------------------------------------------------------===//
1623

0 commit comments

Comments
 (0)