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 | 2e10b0874447c8627a86d551f28f88620e0958c7 (patch) | |
tree | 1c7991416ee5891bb1e96e4930aeb7649d2efdcd /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 0fb7dcd48fd6580e3ebf35eafa952a9fe1cac8b2 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions