f3e54d7
From eaa421d1f9c3748c550e2a91fcb134a3d2a8ebff Mon Sep 17 00:00:00 2001
f3e54d7
From: Sanjin Sijaric <ssijaric@codeaurora.org>
f3e54d7
Date: Fri, 18 Jan 2019 19:34:20 +0000
f3e54d7
Subject: [PATCH] Fix the buildbot issue introduced by r351421
f3e54d7
f3e54d7
The EXPENSIVE_CHECK x86_64 Windows buildbot is failing due to this change. Fix
f3e54d7
the map access.
f3e54d7
f3e54d7
llvm-svn: 351577
f3e54d7
---
f3e54d7
 lib/MC/MCWin64EH.cpp | 2 +-
f3e54d7
 1 file changed, 1 insertion(+), 1 deletion(-)
f3e54d7
f3e54d7
diff --git a/lib/MC/MCWin64EH.cpp b/lib/MC/MCWin64EH.cpp
f3e54d7
index 8bc1f08..3ef1514 100644
f3e54d7
--- a/lib/MC/MCWin64EH.cpp
f3e54d7
+++ b/lib/MC/MCWin64EH.cpp
f3e54d7
@@ -522,7 +522,7 @@ static void ARM64EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) {
f3e54d7
     if (MatchingEpilog) {
f3e54d7
       assert(EpilogInfo.find(MatchingEpilog) != EpilogInfo.end() &&
f3e54d7
              "Duplicate epilog not found");
f3e54d7
-      EpilogInfo[EpilogStart] = EpilogInfo[MatchingEpilog];
f3e54d7
+      EpilogInfo[EpilogStart] = EpilogInfo.lookup(MatchingEpilog);
f3e54d7
       // Clear the unwind codes in the EpilogMap, so that they don't get output
f3e54d7
       // in the logic below.
f3e54d7
       EpilogInstrs.clear();
f3e54d7
-- 
f3e54d7
1.8.3.1
f3e54d7