2010-06-21 15:23:08     Missing __builtin_return_address(1)

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-06-21 15:23:08     Missing __builtin_return_address(1)

Daniel Tripp (UNITED STATES)

Message: 90516   

 

Is there a way to work around  __builtin_return_address(n) not being able to return n > 0?

QuoteReplyEditDelete

 

 

2010-06-21 15:33:09     Re: Missing __builtin_return_address(1)

Mike Frysinger (UNITED STATES)

Message: 90517   

 

no.  you'll have to write your own.  see the Blackfin asm/ftrace.h in the linux kernel as an example.

 

  blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/trunk/arch/blackfin/include/asm/ftrace.h

Attachments

    Outcomes