summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorSanjin Sijaric <ssijaric@codeaurora.org>2019-01-18 19:34:20 +0000
committerSanjin Sijaric <ssijaric@codeaurora.org>2019-01-18 19:34:20 +0000
commiteaa421d1f9c3748c550e2a91fcb134a3d2a8ebff (patch)
tree41f77fec5fe337206792a34739bd81d6f01d80ff /llvm/lib/MC
parent8e77216c1aded5be150cf2e5dd3aca848545630e (diff)
downloadbcm5719-llvm-eaa421d1f9c3748c550e2a91fcb134a3d2a8ebff.tar.gz
bcm5719-llvm-eaa421d1f9c3748c550e2a91fcb134a3d2a8ebff.zip
Fix the buildbot issue introduced by r351421
The EXPENSIVE_CHECK x86_64 Windows buildbot is failing due to this change. Fix the map access. llvm-svn: 351577
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/MCWin64EH.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCWin64EH.cpp b/llvm/lib/MC/MCWin64EH.cpp
index 8bc1f08c887..3ef1514455a 100644
--- a/llvm/lib/MC/MCWin64EH.cpp
+++ b/llvm/lib/MC/MCWin64EH.cpp
@@ -522,7 +522,7 @@ static void ARM64EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) {
if (MatchingEpilog) {
assert(EpilogInfo.find(MatchingEpilog) != EpilogInfo.end() &&
"Duplicate epilog not found");
- EpilogInfo[EpilogStart] = EpilogInfo[MatchingEpilog];
+ EpilogInfo[EpilogStart] = EpilogInfo.lookup(MatchingEpilog);
// Clear the unwind codes in the EpilogMap, so that they don't get output
// in the logic below.
EpilogInstrs.clear();
OpenPOWER on IntegriCloud