Skip to content
Commit 2ac15f4a authored by Francois Pichet's avatar Francois Pichet
Browse files

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

Change AsmName's type from StringRef to std::string. AsmName was pointing to a temporary string object that was destroyed. This is undefined behavior and MSVC didn't like it.

This fixes over 300+ failing tests on MSVC.
Credit for this fix goes to chapuni.

llvm-svn: 134064
parent 4774b7e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment