Page MenuHomeFreeBSD

Add .cfi_{start,end}proc for RISC-V assembly functions
ClosedPublic

Authored by arichardson on Nov 11 2020, 12:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 7, 6:02 PM
Unknown Object (File)
Sat, Mar 7, 6:21 AM
Unknown Object (File)
Sun, Feb 22, 9:36 PM
Unknown Object (File)
Sun, Feb 8, 7:02 AM
Unknown Object (File)
Sat, Feb 7, 7:43 PM
Unknown Object (File)
Jan 31 2026, 9:35 AM
Unknown Object (File)
Jan 10 2026, 4:33 PM
Unknown Object (File)
Jan 10 2026, 3:47 PM
Subscribers

Details

Summary

This allows GDB to print more useful backtraces when setting a breakpoint
on an assembly function.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arichardson created this revision.
This revision is now accepted and ready to land.Nov 16 2020, 11:47 PM

We should probably do something similar for arm/mips/i386/ppc. (Of course, I am a hypocrite here; I did the same for only amd64 in rS353959.)

In D27177#611740, @cem wrote:

We should probably do something similar for arm/mips/i386/ppc. (Of course, I am a hypocrite here; I did the same for only amd64 in rS353959.)

See D27088 for mips.