[llvm] r351577 - Fix the buildbot issue introduced by r351421
Sanjin Sijaric via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 18 11:34:21 PST 2019
Author: ssijaric
Date: Fri Jan 18 11:34:20 2019
New Revision: 351577
URL: http://llvm.org/viewvc/llvm-project?rev=351577&view=rev
Log:
Fix the buildbot issue introduced by r351421
The EXPENSIVE_CHECK x86_64 Windows buildbot is failing due to this change. Fix
the map access.
Modified:
llvm/trunk/lib/MC/MCWin64EH.cpp
Modified: llvm/trunk/lib/MC/MCWin64EH.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCWin64EH.cpp?rev=351577&r1=351576&r2=351577&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCWin64EH.cpp (original)
+++ llvm/trunk/lib/MC/MCWin64EH.cpp Fri Jan 18 11:34:20 2019
@@ -522,7 +522,7 @@ static void ARM64EmitUnwindInfo(MCStream
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();
More information about the llvm-commits
mailing list