[Lldb-commits] [PATCH] Work around for Visual Studio 2013 compiler crash

Aidan Dodds aidan at codeplay.com
Wed Dec 17 08:29:28 PST 2014

Hi Zachary,

Here was the error message generated from the crash:

1>  CXXFormatterFunctions.cpp
fatal error C1001: An internal error has occurred in the compiler.
1>  (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 227)
1>   To work around this problem, try simplifying or changing the 
program near the locations listed above.
1>  Please choose the Technical Support command on the Visual C++
1>   Help menu, or open the Technical Support help file for more information
1>Build FAILED.

Note the above line number is a little off due to my patch, but I 
tracked it down to the following line:

m_fields[ConstString(name.c_str())] = 

Here is the banner from my version of cl:

1>  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x64
1>  Copyright (C) Microsoft Corporation.  All rights reserved.

My visual studio solution was generated via CMake
My visual studio version is: 12.0.21005.1 REL

I may be worth mentioning that I was directed towards this error by 
others that were seeing it also, so its not isolated just to myself, as 
is the 32bit/64bit stuff from my other patch.
Are you building for an x64 target or x86?  I am only targeting x64.

I am also seeing this error in both Debug and Release builds.
I have used the default CMake options when generating the solution files.

Let me know if I can provide any more information.


On 17/12/2014 15:15, Zachary Turner wrote:
> I compile with vs2013 every day and have never seen this crash. Any 
> idea why it was crashing or how i might repro it?
> On Wed, Dec 17, 2014 at 3:52 AM Aidan Dodds <Aidan at codeplay.com 
> <mailto:Aidan at codeplay.com>> wrote:
>       rL LLVM
>     http://reviews.llvm.org/D6702
>     http://reviews.llvm.org/settings/panel/emailpreferences/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141217/6b6ecd13/attachment.html>

More information about the lldb-commits mailing list