LGTM, subject to handling of `ObjCMethodDecl`. ================ Comment at: lib/CodeGen/CGDecl.cpp:231 @@ +230,3 @@ + GD = GlobalDecl(FD); + if (GD.getDecl()) + (void)GetAddrOfGlobal(GD); ---------------- Should we handle `ObjCMethodDecl`s here? http://reviews.llvm.org/D4787