diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2011-02-10 16:52:03 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2011-02-10 16:52:03 +0000 |
commit | be4c8705e499b55548467eb7adaa23cbc6edfef9 (patch) | |
tree | 180fd2910e4cbbdcd9dca8d8e7d54e347c7a3ccc /include/clang/Frontend/CodeGenOptions.h | |
parent | 9186ff310cf0ad92ec7f39b2c9dcb7e848195052 (diff) |
Implement mcount profiling, enabled via -pg.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125282 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 66c9409fe5..ee85b655c2 100644 --- a/include/clang/Frontend/CodeGenOptions.h +++ b/include/clang/Frontend/CodeGenOptions.h @@ -58,6 +58,7 @@ public: /// hidden visibility. unsigned InstrumentFunctions : 1; /// Set when -finstrument-functions is /// enabled. + unsigned InstrumentForProfiling : 1; /// Set when -pg is enabled unsigned LessPreciseFPMAD : 1; /// Enable less precise MAD instructions to be /// generated. unsigned MergeAllConstants : 1; /// Merge identical constants. @@ -131,6 +132,7 @@ public: HiddenWeakTemplateVTables = 0; HiddenWeakVTables = 0; InstrumentFunctions = 0; + InstrumentForProfiling = 0; LessPreciseFPMAD = 0; MergeAllConstants = 1; NoCommon = 0; |