On 7 March 2016 at 16:10, Rui Ueyama <ruiu at google.com> wrote: > Yeah, so GV->getVisibility() returns an unsigned char. I confirmed. Please > take a look at llvm/Object/ELFTypes.h. That is not the one. The one that is being called is " VisibilityTypes getVisibility()" in GlobalValue.h. Cheers, Rafael