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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:39 +0000 (18:19 -0400)
commite48537677859f4f4e68dc6473d62255add15acfc
treefbe0464ce9795ff1755410d82f3ab68d0565f9d9
parentcf19c159bd9f67321e73367982cd5aa977457cbb
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.024743 seconds and 4 git commands to generate.