This is an archive of the discontinued LLVM Phabricator instance.

Fix C2712 build error on Windows
ClosedPublic

Authored by kzhuravl on Mar 7 2017, 11:11 AM.

Details

Summary

Move the try/except block outside of the set_thread_name function to avoid a conflict with object unwinding due to the use of the llvm::Storage.

Diff Detail

Repository
rL LLVM

Event Timeline

kzhuravl created this revision.Mar 7 2017, 11:11 AM
zturner accepted this revision.Mar 7 2017, 11:13 AM

Good catch, thanks.

This revision is now accepted and ready to land.Mar 7 2017, 11:13 AM
This revision was automatically updated to reflect the committed changes.