<br><br><div class="gmail_quote">On Sat, Feb 19, 2011 at 12:27 PM, Talin <span dir="ltr"><<a href="mailto:viridia@gmail.com" target="_blank">viridia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

LLBrowse - a GUI tool which allows you to inspect the contents of LLVM modules - now runs on Linux and OS X, and it works with both LLVM 2.8 and current LLVM head. I've updated the docs to include instructions on checking out and building the code under several different environments, which you can read here: <a href="http://llvm.org/svn/llvm-project/llbrowse/trunk/doc/LLBrowse.html" target="_blank">http://llvm.org/svn/llvm-project/llbrowse/trunk/doc/LLBrowse.html</a> (the doc also includes screenshots.)<div>



<br></div><div>I'm interested in any bug reports or problems folks might have. You can either reply to this thread or email me privately.<br>-- <br>-- Talin<br></div></blockquote><div> </div><div>Hi Talin,<br><br>I still get the same error...<br>
<span style="font-family: courier new,monospace;">/home/john/src/llbrowse/lib/Formatting.cpp: In function ‘void printTypeExpansion(wxTextOutputStream&, const llvm::Module*, const llvm::Type*, uint32_t)’:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/john/src/llbrowse/lib/Formatting.cpp:33: error: ‘X86_MMXTyID’ is not a member of ‘llvm::Type’</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: *** [CMakeFiles/llbrowse.dir/lib/Formatting.cpp.o] Error 1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[1]: *** [CMakeFiles/llbrowse.dir/all] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make: *** [all] Error 2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">john@ubuntu:~/src/build-llbrowse$ uname -a<br>Linux ubuntu 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011 x86_64 GNU/Linu</span><br> <br>If I comment out that line then I get the errors below:<br>
<span style="font-family: courier new,monospace;">john@ubuntu:~/src/build-llbrowse$ make</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[  5%] Building CXX object CMakeFiles/llbrowse.dir/lib/Formatting.cpp.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ 11%] Building CXX object CMakeFiles/llbrowse.dir/lib/DetailsView.cpp.o</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ 16%] Building CXX object CMakeFiles/llbrowse.dir/lib/TreeView.cpp.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/john/src/llbrowse/lib/TreeView.cpp: In member function ‘virtual void DIEItem::ShowDetails(DetailsView*)’:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/home/john/src/llbrowse/lib/TreeView.cpp:913: error: ‘class llvm::DISubprogram’ has no member named ‘isPrivate’</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/john/src/llbrowse/lib/TreeView.cpp:914: error: ‘class llvm::DISubprogram’ has no member named ‘isProtected’</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/home/john/src/llbrowse/lib/TreeView.cpp:915: error: ‘class llvm::DISubprogram’ has no member named ‘isExplicit’</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/john/src/llbrowse/lib/TreeView.cpp:916: error: ‘class llvm::DISubprogram’ has no member named ‘isPrototyped’</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: *** [CMakeFiles/llbrowse.dir/lib/TreeView.cpp.o] Error 1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[1]: *** [CMakeFiles/llbrowse.dir/all] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make: *** [all] Error 2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">john@ubuntu:~/src/build-llbrowse$<br>john@ubuntu:~/src/build-llbrowse$ llvm-config --version<br>2.9svn<br>john@ubuntu:~/src/build-llbrowse$ clang --version<br>clang version 2.9 (trunk 126095)<br>
Target: x86_64-unknown-linux-gnu<br>Thread model: posix<br>john@ubuntu:~/src/build-llbrowse$ llc --version<br>Low Level Virtual Machine (<a href="http://llvm.org/">http://llvm.org/</a>):<br>  llvm version 2.9svn<br>  Optimized build with assertions.<br>
  Built Feb 19 2011 (13:43:27).<br>  Host: x86_64-unknown-linux-gnu<br>  Host CPU: corei7<br><br></span><br><br>Thanks,<br>John<br></div></div>