LLVM is using its own isPrint/isSpace implementation that doesn't change depending on the current locale. LLDB should do the same
to prevent that internal logic changes depending on the set locale.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D82175
[lldb] Replace std::isprint/isspace with llvm's locale-independent version ClosedPublic Authored by teemperor on Jun 19 2020, 3:51 AM.
Details Summary LLVM is using its own isPrint/isSpace implementation that doesn't change depending on the current locale. LLDB should do the same
Diff Detail Event Timelinetotally_not_teemperor retitled this revision from [lldb] Replace std::isprint with llvm::isPrint to [lldb] Replace std::isprint/isspace with llvm's locale-independent version. Comment Actions
This revision is now accepted and ready to land.Jun 19 2020, 9:11 AM Closed by commit rGf5eaa2afe2a9: [lldb] Replace std::isprint/isspace with llvm's locale-independent version (authored by teemperor). · Explain WhyJun 19 2020, 10:20 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 272001 lldb/include/lldb/Interpreter/Options.h
lldb/source/Core/DumpDataExtractor.cpp
lldb/source/Core/IOHandler.cpp
lldb/source/Core/IOHandlerCursesGUI.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
lldb/source/Utility/Args.cpp
lldb/source/Utility/DataExtractor.cpp
lldb/source/Utility/Event.cpp
lldb/source/Utility/StringExtractor.cpp
|