Instead we switch to the recommended getName(). This fixes compilation with recent versions of LLVM. llvm-svn: 144909
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e in the old git repository. llvm-svn: 130476