[lldb] Make TestOptionValueFileColonLine work on Windows
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 21 Jul 2020 06:13:01 +0000 (23:13 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 21 Jul 2020 06:15:03 +0000 (23:15 -0700)
commitcb5926795aaf4ca0059e8e4f985fcfd156a71477
treef2a71fb53259b2c27ff7f737428052c726423ca9
parent7926143fb0a56ae17e06e462d19e0fde48801a5c
[lldb] Make TestOptionValueFileColonLine work on Windows

The colon in the file name is interpreted as a drive name and therefore
the path looks like foo:\\bar.c. Compare FileSpecs instead of their
string representation so we don't have to worry about that.
lldb/unittests/Interpreter/TestOptionValueFileColonLine.cpp