summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/fast-isel-const.ll
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-02-11 15:50:27 -0800
committerHans Wennborg <hans@chromium.org>2020-02-12 11:20:56 +0100
commitd8a6deab7a84a559a1ff9f2196dae68870af80bf (patch)
treef09dfeb6b1f22dc0502521f8e9abfba22e4eaa1f /llvm/test/CodeGen/PowerPC/fast-isel-const.ll
parent3c94b2780126be9cf0e828bbd62729cdc5f421da (diff)
downloadbcm5719-llvm-d8a6deab7a84a559a1ff9f2196dae68870af80bf.tar.gz
bcm5719-llvm-d8a6deab7a84a559a1ff9f2196dae68870af80bf.zip
Fix MSVC build with C++ EH enabled
Mark the CrashRecoveryContextImpl constructor noexcept, so that MSVC won't emit an unwind helper to clean up the allocation from `new` if the constructor throws an exception. Otherwise, MSVC complains: llvm\lib\Support\CrashRecoveryContext.cpp(220): error C2712: \ Cannot use __try in functions that require object unwinding The other simple fix would be to wrap `new` in a static helper or lambda. Users have reported that Tensorflow builds LLVM with /EHsc. (cherry picked from commit a349c09162a8260bdf691c4f7ab72a16c33975f6)
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fast-isel-const.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud