Skip to content

Compiling for ARM with -g and -O0 failed #3046

@llvmbot

Description

@llvmbot
Bugzilla Link 2674
Resolution FIXED
Resolved on Aug 18, 2008 04:01
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

Hi,

When compiling a .bc file for arm with llc, I ran into the following error:

llvm-gcc -emit-llvm -c -g -O0 test.c -o test.bc
llc -f -march=arm test.bc

Cannot yet select llvm.dbg.declare: 0x8aa97dc: ch = declare 0x8aa928c, 0x8aa96cc, 0x8aa9b0cllc[0x88dd77d]
/lib/tls/libc.so.6(abort+0x109)[0xb7d080c9]
llc[0x8221b08]
[0x0]
Abandon

This error occure only when the .bc file is obtain with -g and -0O passed to llvm-gcc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions