llvm-capstone/lld/Common
Alexandre Ganea 356139bd02
[LLD][COFF] Add support for --time-trace (#68236)
This adds support for generating Chrome-tracing .json profile traces in
the LLD COFF driver.

Also add the necessary time scopes, so that the profile trace shows in
great detail which tasks are executed.

As an example, this is what we see when linking a Unreal Engine
executable:

![image](https://github.com/llvm/llvm-project/assets/37383324/b2e26eb4-9d37-4cf9-b002-48b604e7dcb7)
2023-10-05 22:33:58 -04:00
..
Args.cpp [lld] StringRef::{starts,ends}with => {starts,ends}_with. NFC 2023-06-05 14:36:19 -07:00
CMakeLists.txt [cmake] Add LLVM_FORCE_VC_REVISION option (#67125) 2023-09-25 14:32:52 +01:00
CommonLinkerContext.cpp
DriverDispatcher.cpp Re-land [LLD] Allow usage of LLD as a library 2023-06-19 07:35:11 -04:00
DWARF.cpp [lld] Change Optional to std::optional 2022-11-27 17:25:34 -08:00
ErrorHandler.cpp [lld] fix comment typos to cycle bots 2023-02-04 15:23:30 -05:00
Filesystem.cpp [LLD][COFF] Add support for --time-trace (#68236) 2023-10-05 22:33:58 -04:00
Memory.cpp
Reproduce.cpp [lld] StringRef::{starts,ends}with => {starts,ends}_with. NFC 2023-06-05 14:36:19 -07:00
Strings.cpp [GlobPattern] Update invalid glob pattern diagnostic for unmatched '[' 2023-08-08 20:25:10 -07:00
TargetOptionsCommandFlags.cpp [NFC][TargetParser] Remove llvm/ADT/Triple.h 2023-02-07 12:39:46 +00:00
Timer.cpp [llvm] Add missing StringExtras.h includes 2023-06-25 15:42:22 +01:00
Version.cpp