[lldb/Host] Pass a StringRef to the FileSpec ctor
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 29 Apr 2020 02:21:27 +0000 (19:21 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 29 Apr 2020 02:21:58 +0000 (19:21 -0700)
commit6e693386afedab5237b42679d94ca6c72684621d
tree68036c77833664eac6e784882c05d743f6387588
parent75c3d6f49c450a8b522a6731c317e75b73a2f5a3
[lldb/Host] Pass a StringRef to the FileSpec ctor

The FileSpec constructor takes a StringRef so there's no point in going
through a C string.
lldb/source/Host/common/Host.cpp