summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
diff options
context:
space:
mode:
authorMitch Phillips <mitchphillips@outlook.com>2017-10-23 18:11:31 +0000
committerMitch Phillips <mitchphillips@outlook.com>2017-10-23 18:11:31 +0000
commitf91a31b7a36d86d5f7f0d99a982a9f36024660ba (patch)
tree3de2e76179ce90a8c0d18640875988f77f471145 /llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
parent35b50a83aba3a5eedd3395341b5be76600a6841c (diff)
downloadbcm5719-llvm-f91a31b7a36d86d5f7f0d99a982a9f36024660ba.tar.gz
bcm5719-llvm-f91a31b7a36d86d5f7f0d99a982a9f36024660ba.zip
Patch in
llvm-svn: 316358
Diffstat (limited to 'llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h')
-rw-r--r--llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
index df1ad603b6c..3c24bcda75c 100644
--- a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
+++ b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
@@ -10,6 +10,7 @@
#ifndef LLVM_CFI_VERIFY_FILE_ANALYSIS_H
#define LLVM_CFI_VERIFY_FILE_ANALYSIS_H
+#include "llvm/ADT/DenseMap.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
@@ -161,7 +162,7 @@ private:
// Contains a mapping between a specific address, and a list of instructions
// that use this address as a branch target (including call instructions).
- std::unordered_map<uint64_t, std::vector<uint64_t>> StaticBranchTargetings;
+ DenseMap<uint64_t, std::vector<uint64_t>> StaticBranchTargetings;
// A list of addresses of indirect control flow instructions.
std::set<uint64_t> IndirectInstructions;
OpenPOWER on IntegriCloud