bytecode: Add `OBJECT_TYPE_{UN,}SIGNED_ENUM` type
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 13 May 2020 15:42:09 +0000 (11:42 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 18:17:32 +0000 (13:17 -0500)
commit29a574c31cacca0367653c8a197c9ef519f89203
tree60f3d59d7b5c1bf9fadf29bfe5f126a0480196db
parent60206944ca1ab9c7b2c8519324e07e1a76a8f936
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 <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ic0ab518588d7250190e42576d9baba2e8d8ce94a
include/lttng/lttng-bytecode.h
src/lttng-bytecode-interpreter.c
src/lttng-bytecode-specialize.c
This page took 0.026447 seconds and 4 git commands to generate.