[LLVMdev] gold and debug information
eli.friedman at gmail.com
Mon Jul 19 23:25:56 PDT 2010
On Mon, Jul 19, 2010 at 11:06 PM, Guoliang Jin <jingl1345 at gmail.com> wrote:
> I would like to get the whole program bitcode with debug information in it.
> I tried to use CFLAGS = "-O4 -g", but it ends with the following error:
> collect2: ld terminated with signal 6 [Aborted]
> Unknown constant!
> UNREACHABLE executed at
> What is the right way to get a whole program bitcode with debug
> information using gold plugin?
That looks like a bug; can you attach a testcase?
More information about the llvm-dev