[PATCH] D51651: [ThinLTO] Fix memory corruption in ThinLTOCodeGenerator when CodeGenOnly was specified

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 13:56:35 PDT 2018


steven_wu added a comment.

I dont mind removing codege(). This interface exists since the first prototype and no longer exposed through C API. It seems to have the same model of optimize(), which is also not thread safe. optimize() is still used by llvm-lto but not in thread context.


Repository:
  rL LLVM

https://reviews.llvm.org/D51651





More information about the llvm-commits mailing list