[cfe-dev] Reading LR/FP registers.

Eyal Retter via cfe-dev cfe-dev at lists.llvm.org
Fri Oct 12 23:55:57 PDT 2018


Hi People,

I am trying to read LR and FP registers address. I have tried calling  the
__builtinXXX API's as well as using assembly directly, using Arm cortex M0
and llvm/clang compiler, C language extension. All I get is zeros. Doesn't
make scense. Is there a special way to do this?
I found information regarding C++ classes but no C info. Can someone refer
me please to the right info?

thanks.

Eyal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20181013/4208a2f4/attachment.html>


More information about the cfe-dev mailing list