[LLVMdev] isa and friends as an alternative to dynamic cast?
Jeff Cohen
jeffc at jolt-lang.org
Sat Apr 23 19:46:54 PDT 2005
This may be the case with GCC, but VC++ allows exception handling to be
enabled while RTTI is disabled. According to VC++ documentation, RTTI
is needed only to support dynamic_cast, the typeid operator, and the
type_info class.
Chris Lattner wrote:
> On Thu, 21 Apr 2005, Jeff Cohen wrote:
>
>> That's a good point.
>
>
> I think there are some issues with doing this (e.g. EH doesn't work,
> so the very few places we use it would have to be modified), but other
> than that I fully support the idea.
>
> -Chris
More information about the llvm-dev
mailing list