summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/OcamlGC.cpp
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-06-29 11:25:34 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-06-29 11:25:34 +0000
commit2ac15f4a5d373aa6244a01afa33935704145c322 (patch)
tree71c014a45a8b4e626637c377123179f990b26566 /llvm/lib/CodeGen/OcamlGC.cpp
parent4774b7e45665e9b0a411ff19db073472a5c7bd70 (diff)
downloadbcm5719-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/OcamlGC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud