You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
In CTF, enumerations support labels that map to ranges of values, labels that map to a single explicit value, and labels that map to an implicit value, which is inferred by using the previous label's value + 1, or previous label's range end + 1.
However, a CTF metadata containing an enum where a range label is followed by a label referring to an implicit value does not parse with the lttng scope CTF parser.
The text was updated successfully, but these errors were encountered:
Make implicitly declared enumerations have a value == range.max + 1
To be clear:
enum bob {4-7};
enum alice;
bob is added with a range of 4-7
alice is now added with a range of 8-8 instead of 5-8 as it was before
Link: lttng/lttng-scope#79
Reported-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Suggested-by: Jeremie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic88b5749e1a19548f8c1342f54acf290a173a28d
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/131749
Tested-by: CI Bot
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In CTF, enumerations support labels that map to ranges of values, labels that map to a single explicit value, and labels that map to an implicit value, which is inferred by using the previous label's value + 1, or previous label's range end + 1.
However, a CTF metadata containing an enum where a range label is followed by a label referring to an implicit value does not parse with the lttng scope CTF parser.
The text was updated successfully, but these errors were encountered: