[PATCH] D46608: Add support for ThinLTO plugin option thinlto-object-suffix-replace

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 12:51:26 PDT 2018


ruiu added inline comments.


================
Comment at: lld/ELF/InputFiles.cpp:1028
   // symbols later in the link stage).
+  StringRef Path = MB.getBufferIdentifier();
+  std::string UpdatedPath = Path.str();
----------------
I don't think we should add new tricky code to this common place. Instead, we should modify LTO.cpp or somewhere else. Let me try to do that locally.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46608





More information about the llvm-commits mailing list