summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2017-10-09 17:50:01 +0000
committerAdrian McCarthy <amccarth@google.com>2017-10-09 17:50:01 +0000
commite6275c6edb1b764afe787e58f485a5b47bac1247 (patch)
treec03c7e07c0c8124565175896a298ef272883292f /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent7c6d1c3171a434d70323c3b5756b5be7a93d73ed (diff)
downloadbcm5719-llvm-e6275c6edb1b764afe787e58f485a5b47bac1247.tar.gz
bcm5719-llvm-e6275c6edb1b764afe787e58f485a5b47bac1247.zip
Fix after r315079
Microsoft's debug implementation of std::copy checks if the destination is an array and then does some bounds checking. This was causing an assertion failure in fs::rename_internal which copies to a buffer of the appropriate size but that's type-punned to an array of length 1 for API compatibility reasons. Fix is to make make the destination a pointer rather than an array. llvm-svn: 315222
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud