I wrote a simple C++ program like:
try
{
…
}
catch (char*)
{
…
}
and use
clang -emit-llvm -S
to compile it, and use llc -march=x86 to assemble it,
but found the code in the catch block missing in the .s file.
and run llc with -enable-correct-eh-support, it crashed.
thanx.