[llvm-bugs] [Bug 30318] SafeStackColoring assertion failed in calculateLiveIntervals(): `!Started.test(AllocaNo)'

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 16 15:14:01 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30318

Evgeniy Stepanov <eugeni.stepanov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |vitalybuka at google.com
         Resolution|---                         |FIXED

--- Comment #3 from Evgeniy Stepanov <eugeni.stepanov at gmail.com> ---
Fixed in https://reviews.llvm.org/rL281784

This is what it reduced to: 

define i8* @zot() safestack {
bb:
  %tmp = alloca i8*, align 8
  %tmp2 = bitcast i8** %tmp to i8*
  br label %bb3

bb3:                                              ; preds = %bb3, %bb
  call void @llvm.lifetime.start(i64 8, i8* nonnull %tmp2)
  %tmp4 = call i32 @wombat(i8** nonnull %tmp)
  indirectbr i8* undef, [label %bb3]
}

declare i32 @wombat(i8**)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160916/302cfd4d/attachment.html>


More information about the llvm-bugs mailing list