Support: Fix tests for VirtualityString
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 7 Feb 2015 01:07:30 +0000 (01:07 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 7 Feb 2015 01:07:30 +0000 (01:07 +0000)
commitf28bf6c7aa9e5e2194b4e228728740f438d6f6df
treec5b85755cc435ca562de2b06caddff2f71217869
parent5a504d487c6ce4dc72c8da211c35861691ae6c7c
Support: Fix tests for VirtualityString

Since these `dwarf` functions return `const char *`, the tests need to
use `StringRef` for checks.  Should fix, e.g., hexagon [1].

[1]: http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/22435

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228478 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/DwarfTest.cpp