[cfe-dev] More LLVM on VC2010 fun

Unai Landa ulanda at digital-legends.com
Tue Jul 24 04:09:50 PDT 2012

Building the versio with debug information, I found that the crash is at the

bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF)

Functio at the PeepholeOptimizer.cpp line 460, I think there is some erro sit the stl iterator behabiour.

Is there any way to check if any bugfix to that funtion has been done siende 3.1 release?


From: Unai Landa
Sent: Monday, July 23, 2012 5:36 PM
To: cfe-dev at cs.uiuc.edu
Subject: RE: [cfe-dev] More LLVM on VC2010 fun

Hi all, after building the svn 3.1 version ussing the DEBUG target I have been able to compile withoit crashes, I'll continue uptating the bug database.

As I coment in the bug this kind of bug usually is caused by uninitialized memory or bad stl use, I'll build a RELEASE target with debug information so I can try to find the crash.

On Thu, Jul 19, 2012 at 3:00 AM, Unai Landa <ulanda at digital-legends.com<mailto:ulanda at digital-legends.com>> wrote:
Hello, after some test my latest clang+llvm build "almsot worked" but I was experiencinf some crashes.

I found the experimental win32 binry on the repo, so I donwnloaded and tested it on other machine and that version works fine, so I got mu svn pointing to the llvn and clang 31 release final tag and recompiled it.

That improved my build (running on w7 profesional 64bits) but my clang still crashes on some files that with the provided 32bit binary work, so how can try to find/fix it...

All Im geting is somethng like this:

1>Stack dump:

1>1. <eof> parser at end of file

1>2. Code generation

1>3. Running pass 'Function Pass Manager' on module 'c:/DLE/krmwork/krm/src/anm/codecs/CCodecMgr.cpp'.

1>4. Running pass 'Peephole Optimizations' on function '@_ZNK3krm3anm9CCodecMgr11GetPositionEfj'<mailto:'@_ZNK3krm3anm9CCodecMgr11GetPositionEfj'>

What should I do? with 3.2 there are less crahses but without any info.


cfe-dev mailing list
cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120724/a9c13fa0/attachment.html>

More information about the cfe-dev mailing list