llvm-project/lldb/tools
Pavel Labath ef8683abec ELF: Clean up section type computation
Move code into a separate function, and replace the if-else chain with
llvm::StringSwitch.

A slight behavioral change is that now I use the section flags
(SHF_TLS) instead of the section name to set the thread-specific
property. There is no explanation in the original commit introducing
this (r153537) as to why that was done this way, but the new behavior
should be more correct.

llvm-svn: 348936
2018-12-12 15:46:18 +00:00
..
argdumper Introduce lldb-framework CMake target and centralize its logic 2018-06-18 18:27:16 +00:00
compact-unwind *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
darwin-debug Remove comments after header includes. 2018-11-11 23:16:43 +00:00
darwin-threads the thread id is easier to read in base16. 2018-03-06 23:33:02 +00:00
debugserver [CMake] Fix standalone build for debugserver on macOS 2018-11-29 14:51:49 +00:00
driver [Driver] Simplify OptionData. NFC 2018-12-11 20:19:53 +00:00
install-headers add back an Xcode-specific Makefile for header installation 2016-01-28 22:34:36 +00:00
intel-features Remove header grouping comments. 2018-11-11 23:17:06 +00:00
lldb-mi Remove header grouping comments. 2018-11-11 23:17:06 +00:00
lldb-perf Make lldb -Werror clean for -Wstring-conversion 2017-01-06 00:38:06 +00:00
lldb-server [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
lldb-test ELF: Clean up section type computation 2018-12-12 15:46:18 +00:00
lldb-vscode Add a check whether or not a str is utf8 prior to emplacing 2018-11-15 19:49:57 +00:00
CMakeLists.txt [cmake] Add option to skip building lldb-server 2018-08-23 18:05:45 +00:00