Fix: update_field_class_in_ir(): do not have special int fields in trace IR
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 9 Apr 2019 19:39:32 +0000 (15:39 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commit6cd330ac13f9d55e55d917931dfbc03bc4497760
tree1fcc2ca9f9d35b6dcc6da4852ef43f404dabadb2
parent743f28fbbbdd8a6a3802f67d42331a3b26f82ed3
Fix: update_field_class_in_ir(): do not have special int fields in trace IR

The logic in update_field_class_in_ir() for the integer field class case
was wrong. This patch fixes this, so that we only translate the CTF IR
integer field class to a trace IR integer field class if another field
class depends on it (dynamic array, variant) or if it does not update a
clock AND it does not have a special meaning.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
plugins/ctf/common/metadata/ctf-meta-update-in-ir.c
This page took 0.025885 seconds and 5 git commands to generate.