llvm-mcld -march=x86 abs.o zero.o
llvm-mcld:
/home/pete/workspace/mclinker/debug/../lib/Target/GNULDBackend.cpp:1298:
uint64_t mcld::GNULDBackend::getSymbolShndx(const mcld::LDSymbol&, const
mcld::Layout&) const: Assertion `pSymbol.hasFragRef() && "symbols must have
fragment reference to get its index"' failed.
Stack dump:
0. Running pass 'Function Pass Manager' on module 'Empty Module'.
Aborted (core dumped)
-------------------------------
The symbol `zero' is GLOBAL/DEFAULT/ABS, but in current symbol resolution,
`zero' will be resolved to GLOBAL and then the assertion in getSymbolShndx is
failed.
Original issue reported on code.google.com by pete.c...@gmail.com on 16 Oct 2012 at 9:08
Original issue reported on code.google.com by
pete.c...@gmail.com
on 16 Oct 2012 at 9:08Attachments: