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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commit2de734621299af545a0aff6b14f97d657f47f7eb
tree1fcc2ca9f9d35b6dcc6da4852ef43f404dabadb2
parent9067de2beaeb4304940676c2d216827915dbc0ea
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.024986 seconds and 4 git commands to generate.