hanchenye-llvm-project/lldb/unittests
Zachary Turner 80552918a9 Move Host/Symbols.cpp to Symbols/LocateSymbolFile.cpp
Given that we have a target named Symbols, one wonders why a
file named Symbols.cpp is not in this target.  To be clear,
the functions exposed from this file are really focused on
*locating* a symbol file on a given host, which is where the
ambiguity comes in.  However, it makes more sense conceptually
to be in the Symbols target. While some of the specific places
to search for symbol files might change depending on the Host,
this is not inherently true in the same way that, for example,
"accessing the file system" or "starting threads" is
fundamentally dependent on the Host.

PDBs, for example, recently became a reality on non-Windows platforms,
and it's theoretically possible that DSYMs could become a thing on non
MacOSX platforms (maybe in a remote debugging scenario). Other types of
symbol files, such as DWO, DWP, etc have never been tied to any Host
platform anyway.

After this patch, there is only one remaining dependency from
Host to Target.

Differential Revision: https://reviews.llvm.org/D58730

llvm-svn: 355032
2019-02-27 21:42:10 +00:00
..
Breakpoint Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Core Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Disassembler Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Editline Remove redundant ::get() for smart pointer. (NFC) 2019-02-12 03:47:39 +00:00
Expression Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Host Move Host/Symbols.cpp to Symbols/LocateSymbolFile.cpp 2019-02-27 21:42:10 +00:00
Interpreter Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Language [Reproducers] Make clang use lldb's VFS. 2019-02-18 20:31:18 +00:00
ObjectFile BreakpadRecords: Add parsing code for FILE and LINE records 2019-01-29 15:39:27 +00:00
Platform Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Process Avoid two-stage initialization of MinidumpParser 2019-02-22 13:36:01 +00:00
ScriptInterpreter Add PythonBoolean type to the PythonDataObjects 2019-02-16 18:39:14 +00:00
Signals Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Symbol Move Host/Symbols.cpp to Symbols/LocateSymbolFile.cpp 2019-02-27 21:42:10 +00:00
SymbolFile [NFC] Fix license headers after r352845 2019-02-08 08:48:15 +00:00
Target Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TestingSupport Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UnwindAssembly Use std::make_shared in LLDB (NFC) 2019-02-11 23:13:08 +00:00
Utility [Utility] Fix ArchSpec.MergeFrom to correctly merge environments 2019-02-27 00:47:39 +00:00
debugserver Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tools [lldb-mi] Check raw pointers before passing them to std::string ctor/assignment 2019-02-25 16:40:11 +00:00
CMakeLists.txt [CMake] Only test debugserver if platform can use debugserver 2019-01-18 00:05:25 +00:00
gtest_common.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00