Skip to content

Comments

i#6662 public traces: allow one missing virtual_address in v2p.textproto#7174

Merged
edeiana merged 3 commits intomasterfrom
i6662-v2p-virt-addr-0
Jan 7, 2025
Merged

i#6662 public traces: allow one missing virtual_address in v2p.textproto#7174
edeiana merged 3 commits intomasterfrom
i6662-v2p-virt-addr-0

Conversation

@edeiana
Copy link
Contributor

@edeiana edeiana commented Jan 6, 2025

The textproto format does not have fields with value == 0.
In some cases a trace can use virtual address 0x0, which
would result in a missing virtual_address field in v2p.textproto.
Previously we did not allow any missing fields in v2p.textproto,
so this case needs to be handled.
We do so relying on the fact that multiple missing virtual_address
fields would try to map 0x0 multiple times, resulting in an error.

We add the missing virtual_address case to the unit tests.

Issue #6662

The textproto format does not output fields with value == 0.
In some cases a trace can use virtual address 0x0, so this
case needs to be handled (previously we did not allow any
missing fields from v2p.textproto).
We do so relying on the fact that multiple missing virtual_address
fields would try to map 0x0 multiple times, hence resulting in an
error.

Issue #6662
@edeiana edeiana requested a review from derekbruening January 6, 2025 23:30
@edeiana edeiana merged commit 4dfb878 into master Jan 7, 2025
17 checks passed
@edeiana edeiana deleted the i6662-v2p-virt-addr-0 branch January 7, 2025 01:03
edeiana added a commit that referenced this pull request Jan 7, 2025
Update the version number to 11.3.
Necessary for compatibility with the new public traces
and their v2p.textproto file (xref: #7136 #7174).

Issue #6662
@edeiana edeiana mentioned this pull request Jan 7, 2025
edeiana added a commit that referenced this pull request Jan 10, 2025
Update the version number to 11.3.
Necessary for compatibility with the new public traces and their
v2p.textproto file (xref: #7136 #7174).

Issue #6662
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants