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

Kyungwoo Lee via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 12:16:01 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)) {
----------------
kyulee-com wrote:

```suggestion
      : DataBuffer(std::move(DataBuffer)), Opts(Opts) {
```

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


More information about the llvm-commits mailing list