[PATCH] D53446: Set MAttrs in LTO mode

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 13:20:34 PDT 2018


ruiu added inline comments.


================
Comment at: ELF/LTO.cpp:91-92
   C.CPU = GetCPUStr();
 
+  // Add -mattr options
+  C.MAttrs = GetMAttrs();
----------------
I don't think we need this comment as we don't have one for GetCPUStr() and others. For lld, they are just opaque arguments passed from users to the LTO backend.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D53446





More information about the llvm-commits mailing list