[PATCH] D25965: Utility functions for appending to llvm.used/llvm.compiler.used

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 14:45:07 PDT 2016


mehdi_amini added inline comments.


================
Comment at: lib/LTO/UpdateCompilerUsed.cpp:55
   // Output
   SmallPtrSetImpl<const GlobalValue *> &LLVMUsed;
 
----------------
pcc wrote:
> This could also be a std::vector, then there'd be no need to rebuild it.
How do you prevent duplicate?


Repository:
  rL LLVM

https://reviews.llvm.org/D25965





More information about the llvm-commits mailing list