systemc: Handle null sc_object names.
authorGabe Black <gabeblack@google.com>
Thu, 23 Aug 2018 04:54:19 +0000 (21:54 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 25 Sep 2018 23:59:32 +0000 (23:59 +0000)
commit5a4407b3b693ca22a80f4aa1359c6ccf3f27f694
treecef6f26bfaa475e3ae420108ec7ec187fd13d533
parent6184742caf7f80a8b2763bfc31c65789b5dab801
systemc: Handle null sc_object names.

A null pointer for an sc_object name is supposed to be equivalent to
an empty string.

Change-Id: I6094577ad43f13d47a20bc67fa15f4c04d448fe5
Reviewed-on: https://gem5-review.googlesource.com/12257
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/object.cc