diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-05-22 17:46:59 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-05-22 17:46:59 +0000 |
commit | fb9b3011953cf89f70b1c4e802396a6656dfc9b3 (patch) | |
tree | 4d94869706b9680624740b426bb11d17f094a2e9 /llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp | |
parent | b417513a506f2dfbe478fa499d75e6a625a361a5 (diff) | |
download | llvm-fb9b3011953cf89f70b1c4e802396a6656dfc9b3.zip llvm-fb9b3011953cf89f70b1c4e802396a6656dfc9b3.tar.gz llvm-fb9b3011953cf89f70b1c4e802396a6656dfc9b3.tar.bz2 |
[EditLine] Rewrite GetHistoryFilePath
Rewrite the GetHistoryFilePath implementation without relying on
FileSpec in the spirit of our discussion in D61994.
It changes LLDBs behavior in two ways:
1. We now only use the -widehistory suffix when LLDB is built with wchar
support, instead of as the fallback from when the ~/.lldb directory
isn't writable.
2. When the ~/.lldb directory isn't writable, we don't write any history
files at all. Previously we would write them to the user's home
directory (with the incorrect wide suffix), polluting ~ with a
different file for every IO handler.
Differential revision: https://reviews.llvm.org/D62216
llvm-svn: 361412
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp')
0 files changed, 0 insertions, 0 deletions