[PATCH] D62381: Use SymbolTable::insert() to implement --trace.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 27 21:33:56 PDT 2019


ruiu updated this revision to Diff 201608.
ruiu added a comment.

- Change the callback object type from std:function to llvm::function_ref. Looks like Clang can eliminate a given lambda and inline it if we take it as a llvm::function_ref.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62381

Files:
  lld/ELF/Driver.cpp
  lld/ELF/LTO.cpp
  lld/ELF/MarkLive.cpp
  lld/ELF/SymbolTable.cpp
  lld/ELF/SymbolTable.h
  lld/ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62381.201608.patch
Type: text/x-patch
Size: 8344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190528/dba1d992/attachment.bin>


More information about the llvm-commits mailing list