summaryrefslogtreecommitdiffstats
path: root/NOTES.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-16 19:33:59 +0000
committerChris Lattner <sabre@nondot.org>2009-01-16 19:33:59 +0000
commiteab819b41d64ab9624030437ca289cf864ba9f77 (patch)
treeb54a0366681ad85f725e6bbb730f4297f01dfd71 /NOTES.txt
parente2916d6a7d876c89ccaf60fbd47ab08ab50302d0 (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.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/NOTES.txt b/NOTES.txt
index 0759acf355..6fc312c0c3 100644
--- a/NOTES.txt
+++ b/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
//===---------------------------------------------------------------------===//