Skip to content

Conversation

@fosterbrereton
Copy link
Contributor

Adds blockN form handling to the DWARF processor.

Until now, we haven't found a case in the wild where essential DWARF data was encoded using one of the blockN forms. Today such an example arose. This will handle up to 8 bytes of arbitrary block data, and assumes the result is a 64-bit unsigned value.

attribute_sequence attributes;
std::tie(die, attributes) = abbreviation_to_die(_s.tellg(), process_mode::complete);

#if ORC_FEATURE(TRACY)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

squelch a warning.

Copy link
Contributor

@leethomason leethomason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good & good find.

@fosterbrereton fosterbrereton enabled auto-merge (squash) February 2, 2024 23:31
@fosterbrereton fosterbrereton merged commit a89a118 into main Feb 2, 2024
@fosterbrereton fosterbrereton deleted the fosterbrereton/block-form-handling branch February 2, 2024 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants