diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-09-08 18:12:00 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-09-08 18:12:00 +0000 |
commit | 1ed49fb74ba5127c92d837f147ccb26840c29675 (patch) | |
tree | 23117c49b00643e9f724e49fc8182a503728a947 /lib/Target/TargetMachine.cpp | |
parent | fdddcc057515230de0114a1eef9c81372e4a5b46 (diff) |
Accidental commit of partial 'stack canaries' code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r-- | lib/Target/TargetMachine.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index 0bf0e374d1..600a120e86 100644 --- a/lib/Target/TargetMachine.cpp +++ b/lib/Target/TargetMachine.cpp @@ -40,7 +40,6 @@ namespace llvm { bool RealignStack; bool VerboseAsm; bool DisableJumpTables; - StackCanaries::Model StackProtectors; } static cl::opt<bool, true> PrintCode("print-machineinstrs", @@ -164,21 +163,6 @@ DisableSwitchTables(cl::Hidden, "disable-jump-tables", cl::location(DisableJumpTables), cl::init(false)); -static cl::opt<llvm::StackCanaries::Model, true> -GenerateStackProtectors("stack-protector", - cl::desc("Generate stack protectors"), - cl::location(StackProtectors), - cl::init(StackCanaries::Default), - cl::values( - clEnumValN(StackCanaries::Default, "default", - " No stack protectors"), - clEnumValN(StackCanaries::On, "on", - " Generate stack protectors for functions that" - "need them"), - clEnumValN(StackCanaries::Always, "all", - " Generate stack protectors for all functions"), - clEnumValEnd)); - //--------------------------------------------------------------------------- // TargetMachine Class // |