<div dir="ltr"><div><a href="http://llvm.org/docs/ExceptionHandling.html#try-catch">http://llvm.org/docs/ExceptionHandling.html#try-catch</a> says:<br></div><div><br></div>"The array argument to filter may be empty; for example, “[0 x i8**] undef”. This means that the landingpad should always be entered. (Note that such a filter would not be equivalent to “catch i8* null”, because filter and catch produce negative and positive selector values respectively.)"<br>
<div><br></div><div>The verifier disagrees with this claim:</div><div><br></div><div><div>Filter operand is not an array of constants!</div><div>  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)</div>
<div>          filter [0 x i8**] undef</div><div>LLVM ERROR: Broken function found, compilation aborted!</div></div><div><br></div><div>Is the documentation out of date, or is the verifier doing the wrong thing, or did I misunderstand what the documentation meant?</div>
</div>