[llvm] r220462 - Add llvm-go tool.

Peter Collingbourne peter at pcc.me.uk
Tue Nov 25 17:14:19 PST 2014


On Tue, Nov 25, 2014 at 05:11:12PM -0800, David Blaikie wrote:
> On Wed, Oct 22, 2014 at 7:33 PM, Peter Collingbourne <peter at pcc.me.uk>
> wrote:
> 
> > Author: pcc
> > Date: Wed Oct 22 21:33:23 2014
> > New Revision: 220462
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=220462&view=rev
> > Log:
> > Add llvm-go tool.
> >
> > This tool lets us build LLVM components within the tree by setting up a
> > $GOPATH that resembles a tree fetched in the normal way with "go get".
> >
> > It is intended that components such as the Go frontend will be built
> > in-tree
> > using this tool.
> >
> > Differential Revision: http://reviews.llvm.org/D5902
> >
> > Added:
> >     llvm/trunk/tools/llvm-go/
> >     llvm/trunk/tools/llvm-go/CMakeLists.txt
> >     llvm/trunk/tools/llvm-go/Makefile
> >     llvm/trunk/tools/llvm-go/llvm-go.go
> > Modified:
> >     llvm/trunk/bindings/go/build.sh
> >     llvm/trunk/cmake/config-ix.cmake
> >     llvm/trunk/test/Bindings/Go/go.test
> >
> 
> Anyone else seeing a failure with this test?

Eric is working on it.

> ******************** TEST 'LLVM :: Bindings/Go/go.test' FAILED
> ********************
> Script:
> --
> .../llvm/build/clang/debug/split/notypes/nostandalone/./bin/llvm-go
> test llvm.org/llvm/bindings/go/llvm
> --
> Exit Code: 1
> 
> Command Output (stdout):
> --
> llvm.test: .../llvm/src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:279:
> void llvm::RuntimeDyldELF::resolveX86_64Relocati
> on(const llvm::SectionEntry &, uint64_t, uint64_t, uint32_t, int64_t,
> uint64_t): Assertion `(Type == ELF::R_X86_64_32 && (Value <=
> (4294967295U))) || (Type ==
> ELF::R_X86_64_32S && ((int64_t)Value <= (2147483647) && (int64_t)Value
> >= (-2147483647-1)))' failed.


Thanks,
-- 
Peter



More information about the llvm-commits mailing list