bytecode: Add `OBJECT_TYPE_{UN,}SIGNED_ENUM` type
authorFrancis Deslauriers <fdeslaur@gmail.com>
Thu, 7 May 2020 20:41:18 +0000 (16:41 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Nov 2020 18:37:00 +0000 (13:37 -0500)
commit70f9f7f95a5a36231e4a71191bcd88d582c3ca81
treef1ec81bfb4291dfea96356009f1c22b6344d8080
parent621c07fc1b90c12ec997d539770da1937d11c450
bytecode: Add `OBJECT_TYPE_{UN,}SIGNED_ENUM` type

Enumerations are currently converted to their integer counterparts as
soon as they are encountered.

In order to use them in captures, we need to differentiate the
enumerations from integers for the entirety of the interpretation.

This commit adds the `OBJECT_TYPE_SIGNED_ENUM` and
`OBJECT_TYPE_UNSIGNED_ENUM` to keep track of these objects.

Signed-off-by: Francis Deslauriers <fdeslaur@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I4b3ec8187a578ddc6c9d87f72d462441ba5e4a1e
liblttng-ust/lttng-bytecode-interpreter.c
liblttng-ust/lttng-bytecode-specialize.c
liblttng-ust/lttng-bytecode.h
This page took 0.024132 seconds and 4 git commands to generate.