[PATCH] D71060: [LLD][ELF] Add time-trace to ELF LLD (2/2)

Russell Gallop via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 08:52:42 PST 2019


russell.gallop updated this revision to Diff 234079.
russell.gallop added a comment.

Fix to work with LLVM_ENABLE_THREADS=OFF. In this mode ThinLTO still uses tasks but need to avoid re-initialising the time profiler.

Requires https://reviews.llvm.org/D71548 to avoid thread_local in this mode.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71060/new/

https://reviews.llvm.org/D71060

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/ICF.cpp
  lld/ELF/LTO.cpp
  lld/ELF/MarkLive.cpp
  lld/ELF/Options.td
  lld/ELF/SyntheticSections.cpp
  lld/ELF/Writer.cpp
  lld/test/ELF/lto/thinlto-time-trace.ll
  lld/test/ELF/time-trace.s
  llvm/include/llvm/LTO/Config.h
  llvm/lib/LTO/LTO.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71060.234079.patch
Type: text/x-patch
Size: 13676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191216/5f734433/attachment.bin>


More information about the llvm-commits mailing list