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 | eab819b41d64ab9624030437ca289cf864ba9f77 (patch) | |
tree | b54a0366681ad85f725e6bbb730f4297f01dfd71 /NOTES.txt | |
parent | e2916d6a7d876c89ccaf60fbd47ab08ab50302d0 (diff) |
Random note so I remember how to do this :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'NOTES.txt')
-rw-r--r-- | NOTES.txt | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 //===---------------------------------------------------------------------===// |