[LLVMdev] ARM Debug support patch

Anton Korobeynikov anton at korobeynikov.info
Wed Dec 10 10:22:10 PST 2008


Hello, Mikaƫl

> We need debug support in ARM binary, but, in LLVM 2.4, this support is not
> activated for ARM backend. Consequently, I made small modifications in order
> to activate it (see the patch in attach file). My experience is not enough
> on LLVM to know if it is the right way to solve the problem. But these
> modifications work on our use cases.
asmprinter part looks ok for me. I'll let others comment on DAG part.

> The extra success test is funccall.ll from test/DebugInfo. In order to build
> successfully LLVM on ARM Linux EABI platform, I put in comment the usage of
> __register_frame into JIT.cpp because it seems that __register_frame
> function is not into my libgcc.
How dwarf frames are registered there then?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list