diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-16 19:33:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-16 19:33:59 +0000 |
commit | 972347d4f1cc3cfca94aba55978902c4f8a6e6d4 (patch) | |
tree | 3440428bbe86f014e7de7eb4d5071d1496e33639 /clang/NOTES.txt | |
parent | 0d733b5d9f70dd491d124f2d556edbc2edef7863 (diff) | |
download | llvm-972347d4f1cc3cfca94aba55978902c4f8a6e6d4.zip llvm-972347d4f1cc3cfca94aba55978902c4f8a6e6d4.tar.gz llvm-972347d4f1cc3cfca94aba55978902c4f8a6e6d4.tar.bz2 |
Random note so I remember how to do this :)
llvm-svn: 62344
Diffstat (limited to 'clang/NOTES.txt')
-rw-r--r-- | clang/NOTES.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/NOTES.txt b/clang/NOTES.txt index 0759acf..6fc312c 100644 --- a/clang/NOTES.txt +++ b/clang/NOTES.txt @@ -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 //===---------------------------------------------------------------------===// |