diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-04-09 15:42:15 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-04-09 15:42:15 +0000 |
commit | 649ee3fec12dcf7167630ff88087ad116e9eefa6 (patch) | |
tree | 2b788913f6a8820107f5e6a76c9653a5b0ca70f9 /include/clang/Frontend/CodeGenOptions.h | |
parent | e2571793ba6fc13e5525b8d7224812f99842a1a4 (diff) |
Add -fobjc-trace to emit a call before and after each Objective-C message send
for hooking in code flow visualisation applications.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CodeGenOptions.h')
-rw-r--r-- | include/clang/Frontend/CodeGenOptions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Frontend/CodeGenOptions.h b/include/clang/Frontend/CodeGenOptions.h index e844f8869c..ec18684f98 100644 --- a/include/clang/Frontend/CodeGenOptions.h +++ b/include/clang/Frontend/CodeGenOptions.h @@ -82,6 +82,8 @@ public: /// use of the inline keyword. unsigned NoNaNsFPMath : 1; /// Assume FP arguments, results not NaN. unsigned NoZeroInitializedInBSS : 1; /// -fno-zero-initialized-in-bss + unsigned ObjCTrace : 1; /// Emit tracing calls for visualising code + /// flow in Objective-C programs unsigned ObjCDispatchMethod : 2; /// Method of Objective-C dispatch to use. unsigned ObjCRuntimeHasARC : 1; /// The target runtime supports ARC natively unsigned ObjCRuntimeHasTerminate : 1; /// The ObjC runtime has objc_terminate |