[llvm] r347616 - Fix debug build break
JF Bastien via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 26 15:48:47 PST 2018
Author: jfb
Date: Mon Nov 26 15:48:47 2018
New Revision: 347616
URL: http://llvm.org/viewvc/llvm-project?rev=347616&view=rev
Log:
Fix debug build break
Comment out an assertion from D54543 which failed with error: no member named 'Range' in '(anonymous namespace)::PassAsArgInfo'.
Modified:
llvm/trunk/lib/Analysis/StackSafetyAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/StackSafetyAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/StackSafetyAnalysis.cpp?rev=347616&r1=347615&r2=347616&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/StackSafetyAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/StackSafetyAnalysis.cpp Mon Nov 26 15:48:47 2018
@@ -462,8 +462,9 @@ bool StackSafetyDataFlowAnalysis::update
bool UpdateToFullSet) {
bool Changed = false;
for (auto &CS : US.Calls) {
- assert(!CS.Range.isEmptySet() &&
- "Param range can't be empty-set, invalid access range");
+ // FIXME: this doesn't build.
+ // assert(!CS.Range.isEmptySet() &&
+ // "Param range can't be empty-set, invalid access range");
ConstantRange CalleeRange = getArgumentAccessRange(CS.Callee, CS.ParamNo);
CalleeRange = CalleeRange.add(CS.Offset);
More information about the llvm-commits
mailing list