]> granicus.if.org Git - llvm/commitdiff
Fix the buildbot issue introduced by r351421
authorSanjin Sijaric <ssijaric@codeaurora.org>
Fri, 18 Jan 2019 19:34:20 +0000 (19:34 +0000)
committerSanjin Sijaric <ssijaric@codeaurora.org>
Fri, 18 Jan 2019 19:34:20 +0000 (19:34 +0000)
The EXPENSIVE_CHECK x86_64 Windows buildbot is failing due to this change. Fix
the map access.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351577 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCWin64EH.cpp

index 8bc1f08c88750eb1b3fbc12c0c4358beb7c27fda..3ef1514455af315439854be78fd15d54248eca3c 100644 (file)
@@ -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();