mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 15:10:30 +00:00
14cdbca6b8
Summary: In this change we move the definition of the log reading routines from the tools directory in LLVM to {include/llvm,lib}/XRay. We improve the documentation a little bit for the publicly accessible headers, and adjust the top-matter. This also leads to some refactoring and cleanup in the tooling code. In particular, we do the following: - Rename the class from LogReader to Trace, as it better represents the logical set of records as opposed to a log. - Use file type detection instead of asking the user to say what format the input file is. This allows us to keep the interface simple and encapsulate the logic of loading the data appropriately. In future changes we increase the API surface and write dedicated unit tests for the XRay library. Depends on D24376. Reviewers: dblaikie, echristo Subscribers: mehdi_amini, mgorny, llvm-commits, varno Differential Revision: https://reviews.llvm.org/D28345 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291652 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
672 B
CMake
26 lines
672 B
CMake
# `Demangle', `Support' and `TableGen' libraries are added on the top-level
|
|
# CMakeLists.txt
|
|
|
|
add_subdirectory(IR)
|
|
add_subdirectory(IRReader)
|
|
add_subdirectory(CodeGen)
|
|
add_subdirectory(Bitcode)
|
|
add_subdirectory(Transforms)
|
|
add_subdirectory(Linker)
|
|
add_subdirectory(Analysis)
|
|
add_subdirectory(LTO)
|
|
add_subdirectory(MC)
|
|
add_subdirectory(Object)
|
|
add_subdirectory(ObjectYAML)
|
|
add_subdirectory(Option)
|
|
add_subdirectory(DebugInfo)
|
|
add_subdirectory(ExecutionEngine)
|
|
add_subdirectory(Target)
|
|
add_subdirectory(AsmParser)
|
|
add_subdirectory(LineEditor)
|
|
add_subdirectory(ProfileData)
|
|
add_subdirectory(Fuzzer)
|
|
add_subdirectory(Passes)
|
|
add_subdirectory(LibDriver)
|
|
add_subdirectory(XRay)
|