[llvm-commits] [PATCH] Emit ARM EHABI unwinding instructions for 2 more Thumb instructions

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Jan 18 06:14:17 PST 2012


Hm, I've got a problem here. Maybe you can help me?

The following fails:

# cat 1.ii
void f() {
}
void g() {
    f();
}
# ./Release+Asserts/bin/clang -ccc-host-triple arm-linux-gnueabi 1.ii
-S -mthumb  -mllvm -arm-enable-ehabi

How do I build an llc command line?
The naive

./Release+Asserts/bin/llc -march=thumb -arm-enable-ehabi -O=0 <1.ii

does not expose the bug.

On Wed, Jan 18, 2012 at 4:29 PM, Anton Korobeynikov <asl at math.spbu.ru> wrote:
> Hi Evgeniy
>
>> And here is the patch.
> Yes, but please add the testcase, so they won't be missed in the future.
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list