Change AsmName's type from StringRef to std::string. AsmName was pointing to a tempor...