Details
- Reviewers
- None
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 80223 Build 77106: arc lint + arc unit
Event Timeline
Would we lose something with respect to being able to dtrace assembly functions with this approach? Again, apologies, I'm not actually very familiar with ctf.
No. ctfconvert only deals with type information. dtrace uses ELF symbols to decide which functions it can trace.
The CTF format does refer to the ELF symbol table in order to provide metadata about function parameter and return value types. But, for asm functions we do not have any such metadata to begin with.
${CTFCONVERT_CMD) is being removed from some .c rules? Should note in the commit message or as a comment on the rules why they shouldn't have ctfconvert. But otherwise this seems sensible to me overall and better than incrementally hacking ctfconvert.
| sys/dev/usb/usb_dev.c | ||
|---|---|---|
| 594 | unrelated | |
Yeah, sorry, I should have commented that the commit log message has yet to be written. :)
I am just proposing this as an alternative to changing ctfconvert internals.
My main motivation for the ctfconvert patches was to get the GCC build running again and your approach works for me.