summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp
diff options
context:
space:
mode:
authorTom Roeder <tmroeder@google.com>2014-11-11 21:26:33 +0000
committerTom Roeder <tmroeder@google.com>2014-11-11 21:26:33 +0000
commit6312f4a422ddcb6a262ffc9fd3699cd2ec570425 (patch)
treed8a20458778e9b4865f2e025a15c5cacd8a83009 /llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp
parent8ad4f498fb4d273a35a0a3cd41492fa7467c5384 (diff)
downloadbcm5719-llvm-6312f4a422ddcb6a262ffc9fd3699cd2ec570425.tar.gz
bcm5719-llvm-6312f4a422ddcb6a262ffc9fd3699cd2ec570425.zip
Fix build break: remove unused variable in FCFI.
llvm-svn: 221710
Diffstat (limited to 'llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp')
-rw-r--r--llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp b/llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp
index 679faeffefc..5e7e853707d 100644
--- a/llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp
+++ b/llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp
@@ -81,7 +81,6 @@ static bool isIndirectCall(CallSite &CS) {
}
static const char cfi_failure_func_name[] = "__llvm_cfi_pointer_warning";
-static const char cfi_func_name_prefix[] = "__llvm_cfi_function_";
ForwardControlFlowIntegrity::ForwardControlFlowIntegrity()
: ModulePass(ID), IndirectCalls(), JTType(JumpTable::Single),
OpenPOWER on IntegriCloud