[llvm] [CGData] Skip reading Names into StableFunctionMap in non-assertion b… (PR #142095)

Zhaoxuan Jiang via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 02:29:54 PDT 2025


================
@@ -106,8 +122,11 @@ class LLVM_ABI IndexedCodeGenDataReader : public CodeGenDataReader {
   IndexedCGData::Header Header;
 
 public:
-  IndexedCodeGenDataReader(std::unique_ptr<MemoryBuffer> DataBuffer)
-      : DataBuffer(std::move(DataBuffer)) {}
+  IndexedCodeGenDataReader(std::unique_ptr<MemoryBuffer> DataBuffer,
+                           Options Opts)
+      : DataBuffer(std::move(DataBuffer)) {
----------------
nocchijiang wrote:

I decide to fully remove `Opts` for simplicity.

https://github.com/llvm/llvm-project/pull/142095


More information about the llvm-commits mailing list