Basic Block in function 'delay_microseconds' does not have t

If you have a simple question and just want an answer.
slava
Member
Posts: 8
Joined: Mon Sep 29, 2014 9:36 am

Basic Block in function 'delay_microseconds' does not have t

Post by slava »

Hi, I am experiencing a weird compilation error:

 Basic Block in function 'delay_microseconds' does not have terminator!

label %late_allocas
LLVM ERROR: Broken module found, compilation aborted!
 
 
Any idea or suggestion what is causing it? The delay_microseconds is not used anywhere in the code. 
 
Thanks,
Slava
User avatar
andrew
Verified
Experienced Member
Posts: 117
Joined: Fri Dec 11, 2009 10:22 am

Post by andrew »

Could you attach some code so we can reproduce it? Thanks