[Reproducer] Use ::rtrim() to remove trailing control characters.
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 18 Oct 2019 17:11:48 +0000 (17:11 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 18 Oct 2019 17:11:48 +0000 (17:11 +0000)
commitded44e220f6ce15258663a0353cccc188211f1d7
treee252225fc3435fc8fecb1de13060a8215d899416
parent7f704320b058f7217847ee0e599f64e2ce50447c
[Reproducer] Use ::rtrim() to remove trailing control characters.

Pavel correctly pointed out that removing all control characters from
the working directory is overkill. It should be sufficient to just strip
the last ones.

llvm-svn: 375259
lldb/source/Initialization/SystemInitializerCommon.cpp