diff options
| author | Francois Pichet <pichet2000@gmail.com> | 2011-06-29 11:25:34 +0000 |
|---|---|---|
| committer | Francois Pichet <pichet2000@gmail.com> | 2011-06-29 11:25:34 +0000 |
| commit | 2ac15f4a5d373aa6244a01afa33935704145c322 (patch) | |
| tree | 71c014a45a8b4e626637c377123179f990b26566 /llvm/lib/CodeGen | |
| parent | 4774b7e45665e9b0a411ff19db073472a5c7bd70 (diff) | |
| download | bcm5719-llvm-2ac15f4a5d373aa6244a01afa33935704145c322.tar.gz bcm5719-llvm-2ac15f4a5d373aa6244a01afa33935704145c322.zip | |
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
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

