llvm::StringRef can not be dereference past the end