diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-22 17:19:45 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-22 17:19:45 +0000 |
commit | def18494b97f554ea0d95db75627c3e77b74307f (patch) | |
tree | 2207c6057d204b9b591770eae96465d8d7bbe8bd /include/clang/Frontend/CodeGenOptions.h | |
parent | bfbfee51ec8f20f3f1b9f8329705d816b67438e7 (diff) |
wire -fbounds-checking to the new LLVM bounds checking pass
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CodeGenOptions.h')
-rw-r--r-- | include/clang/Frontend/CodeGenOptions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Frontend/CodeGenOptions.h b/include/clang/Frontend/CodeGenOptions.h index 3181c0affd..be7f03fe13 100644 --- a/include/clang/Frontend/CodeGenOptions.h +++ b/include/clang/Frontend/CodeGenOptions.h @@ -172,6 +172,9 @@ public: /// or 0 if unspecified. unsigned NumRegisterParameters; + /// The run-time penalty for bounds checking, or 0 to disable. + unsigned char BoundsChecking; + public: CodeGenOptions() { AsmVerbose = 0; @@ -224,6 +227,7 @@ public: VerifyModule = 1; StackRealignment = 0; StackAlignment = 0; + BoundsChecking = 0; DebugInfo = NoDebugInfo; Inlining = NoInlining; |