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.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Paths 
  |  Differential  D30707  
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 
 Event TimelineThis revision is now accepted and ready to land.Mar 7 2017, 11:13 AM Closed by commit rL297192: Fix C2712 build error on Windows (authored by kzhuravl).  ·  Explain WhyMar 7 2017, 12:21 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 90909 llvm/trunk/lib/Support/Windows/Threading.inc
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||