llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.75k stars 11.89k forks source link

Fatal error with Clang + VS2013 on Windows #28535

Open llvmbot opened 8 years ago

llvmbot commented 8 years ago
Bugzilla Link 28161
Version 3.8
OS Windows NT
Attachments run script, preprocessed source (zipped), The code to reproduce
Reporter LLVM Bugzilla Contributor
CC @majnemer

Extended Description

The command and error message:

C:\temp>clang++ -c -O2 -fexceptions clang_bug.cpp

Unwind edges out of a funclet pad must have the same unwind dest %10 = cleanuppad within none [] cleanupret from %21 unwind to caller cleanupret from %10 unwind label %ehcleanup5 fatal error: error in backend: Broken function found, compilation aborted! clang++.exe: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 3.8.0 (branches/release_38) Target: x86_64-pc-windows-msvc Thread model: posix

llvmbot commented 8 years ago

Thanks for taking a look. I confirm the issue is not reproduced with snapshot builds, r273154 in particular.

991901f3-cc14-4404-b340-165691b62a58 commented 8 years ago

I cannot reproduce with trunk, please try with a nightly build: http://llvm.org/builds/