mbox series

[dwarves,v2,0/3] Small fixes and improvements

Message ID 20210121113520.3603097-1-gprocida@google.com (mailing list archive)
Headers show
Series Small fixes and improvements | expand

Message

Giuliano Procida Jan. 21, 2021, 11:35 a.m. UTC
Hi.

1 is a bug fix affecting restrict qualifiers.
2 avoids leaving debris if objcopy fails.
3 aligns the BTF section to 16 bytes to avoid misaligned access.

Note: I think 3 should be in abandoned in favour of using libelf
directly. I'll give this a go. This would also obsolete 2 in its
current form.

Regards.

Giuliano Procida (3):
  btf_encoder: Fix handling of restrict qualifier
  btf_encoder: Improve error-handling around objcopy
  btf_encoder: Set .BTF section alignment to 16

 libbtf.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)