[LLVMdev] Graphviz and LLVM-TV
Ioannis Nousias
ioannis.nousias at googlemail.com
Tue Aug 18 16:32:59 PDT 2009
Thanks Misha.
I've got a peculiar syntax error with the wxS() function. Seems that
there is some kind of name conflict. I've renamed it to wxStr.
llvm-tv window runs, however I have problems with the opt-snap. It does
not recognise the -gcse CLI argument and if I omit that, it segfaults,
though I do get the views on the llvm-tv window (don't know if they are
complete/correct)
Processing: /tmp/llvm-tv-ioannis/snapshots/0-licm.bc
0 opt 0x0840abbe
1 libstdc++.so.6 0x007c7a81 operator delete(void*) + 33
2 opt 0x08393d35 llvm::Pass::~Pass() + 85
3 opt 0x083970de llvm::PMDataManager::~PMDataManager() + 62
Segmentation fault
regards,
Ioannis
Misha Brukman wrote:
> On Tue, Aug 18, 2009 at 10:45 AM, Misha Brukman <brukman at gmail.com
> <mailto:brukman at gmail.com>> wrote:
>
> On Thu, Aug 13, 2009 at 12:17 PM, Ioannis Nousias
> <ioannis.nousias at googlemail.com
> <mailto:ioannis.nousias at googlemail.com>> wrote:
>
> >> Also, LLVM-TV seems outdated. I've tried to compile it with
> 2.5 LLVM and
> >> got various errors due to API changes. Tried to correct
> them, but got
> >> overwhelmed. Has the project been abandoned?
> >
> > Yes, it is really really old and abandoned.
>
> too bad. looked interesting
>
>
> I've fixed the compilation and linking errors and updated the
> instructions on how to build it, take a look at README.txt in SVN.
>
> Note that it requires poolalloc module and LLVM, but poolalloc
> hasn't been updated to work with top-of-trunk LLVM, so I included
> a recent SVN revision which worked for me.
> Poolalloc build is also broken right now, but it works enough to
> be used with llvm-tv (you only need libLLVMDataStructure).
>
> The current issue is the wxWidgets exception that you'll get when
> trying to select a module in the list:
>
> ./src/gtk/evtloop.cpp(64): assert "!m_impl" failed in
> ~wxEventLoop(): should have been deleted in Run()
>
> I haven't been able to figure out what's going on here. If you
> are interested enough in llvm-tv to help me figure it out, let me
> know.
>
>
> OK, I've fixed that too-- take a look and let me know if you have any
> issues building/using LLVM-TV.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wxS_to_wxStr.patch
Type: text/x-diff
Size: 4474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090819/f3a6321d/attachment.patch>
More information about the llvm-dev
mailing list