I was wondering about IR comparison and I saw llvm-diff tool, why is it not installed by default when I make install? -- cheers, --renato http://systemcall.org/ Reclaim your digital rights, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm
On Aug 23, 2010, at 1:31 PM, Renato Golin wrote:> I was wondering about IR comparison and I saw llvm-diff tool, why is > it not installed by default when I make install?Probably because I missed some vital way of plugging into the build system. Note that llvm-diff is meant solely as a tool for debugging IR; pretty much all details of the output, from formatting to actual information, is subject to change. John.
John McCall <rjmccall at apple.com> writes:>> I was wondering about IR comparison and I saw llvm-diff tool, why is >> it not installed by default when I make install? > > Probably because I missed some vital way of plugging into the build system.List it on tools/Makefile and tools/CMakeLists.txt along the other tool directory names. [snip]
On 24 August 2010 00:19, John McCall <rjmccall at apple.com> wrote:> Note that llvm-diff is meant solely as a tool for debugging IR; pretty much all > details of the output, from formatting to actual information, is subject to change.Hi John, This is fine, I'll not use it on any production system nor rely on its output for anything, it's also mainly for IR debugging. I noticed you have virtual functions but non-virtual destructor on Oracle and Consumer. It might not matter much at this stage, as they're not extended, but it's good to fix it. ;) -- cheers, --renato http://systemcall.org/ Reclaim your digital rights, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm