[LLVMdev] Aborting a pass

Trevor Harmon trevor.w.harmon at nasa.gov
Mon Mar 1 11:04:22 PST 2010


Hi,

What's the proper way to abort a pass if something goes wrong (e.g.,  
in the pass's constructor)? Do I simply call abort()? I looked through  
the existing passes but didn't see an example of this. Thanks,

Trevor




More information about the llvm-dev mailing list