This fixes a crash in the case where the type info object is an alias
pointing to a non-zero offset within a global or is otherwise unanalyzable
by the stripPointerCasts() function. Looking through the alias is not the
right thing to do anyway for similar reasons as D65118.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with suggestion below.
llvm/test/CodeGen/X86/typeid-alias.ll | ||
---|---|---|
1 ↗ | (On Diff #211868) | Add comment about what this is testing. Especially since nothing in the output is being checked (should it?). |
llvm/test/CodeGen/X86/typeid-alias.ll | ||
---|---|---|
1 ↗ | (On Diff #211868) | Done and added a basic sanity check that the output is valid. |