dev: Fix register bank unit test in .debug
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sun, 7 Feb 2021 03:14:58 +0000 (00:14 -0300)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Sun, 7 Feb 2021 13:07:14 +0000 (13:07 +0000)
commit0a63e9ff0a9e8523d2b2a828f857f4d747029588
tree337c97561147db590ecd383fbbf81659647fe50b
parentb75ff8fcff71cc3cdb141c2fbc642cb35c7d2281
dev: Fix register bank unit test in .debug

The lack of definition of this static variable was throwing
and undefined reference error when running

  scons build/X86/unittests.opt.

For more info, check

  https://stackoverflow.com/questions/
    8016780/undefined-reference-to-static-constexpr-char

Change-Id: Id736dc42a82aea871da6a53c06d89fd399d3559a
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40836
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/reg_bank.test.cc