Skip to content
Commit 2dd9b02c authored by Jordy Rose's avatar Jordy Rose
Browse files

Casting to void* or any other pointer-to-sizeless type (e.g. function...

Casting to void* or any other pointer-to-sizeless type (e.g. function pointers) causes a divide-by-zero error. Simple fix: check if the pointee type size is 0 and bail out early if it is.

llvm-svn: 106401
parent 884a8fe5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment