llvm-project/lldb/source
Zachary Turner f6607454d4 Convert ArchSpec::ParseMachOCPUDashSubtypeTriple to use StringRef.
This makes the code easier to grok, and since this is a very low
level function it also is very helpful to have this take a StringRef
since it means anyone higher up the chain who has a StringRef would
have to first convert it to a null-terminated string.  This way it
can work equally well with StringRefs or const char*'s, which will
enable the conversion of higher up functions to StringRef.

Tested on Windows, Linux, and OSX and saw no regressions.

llvm-svn: 281642
2016-09-15 18:41:48 +00:00
..
API Add SB API's for writing breakpoints to & creating the from a file. 2016-09-14 19:07:35 +00:00
Breakpoint Make the keys enumerations for options and resolvers enum classes. 2016-09-15 01:47:22 +00:00
Commands Add SB API's for writing breakpoints to & creating the from a file. 2016-09-14 19:07:35 +00:00
Core Convert ArchSpec::ParseMachOCPUDashSubtypeTriple to use StringRef. 2016-09-15 18:41:48 +00:00
DataFormatters *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Expression Replaced two instances of std::function with auto. 2016-09-14 20:58:31 +00:00
Host I had a problem with one SDK where dispatch_release was actually a 2016-09-08 02:29:40 +00:00
Initialization *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Interpreter *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Plugins Reformat x86_64 register infos defines table 2016-09-15 12:58:27 +00:00
Symbol Force the initialization of the m_type ivar in 2016-09-08 02:26:58 +00:00
Target More cleanup in `frame diagnose,` eliminating a bunch of messy cases. 2016-09-14 21:54:28 +00:00
Utility Move StdStringExtractor to tools/debugserver 2016-09-12 16:13:05 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
lldb.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00