[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:26:48 PDT 2025
================
@@ -155,7 +155,14 @@ CodeGenData &CodeGenData::getInstance() {
// Instead, just emit an warning message and fall back as if no CGData
// were available.
auto FS = vfs::getRealFileSystem();
- auto ReaderOrErr = CodeGenDataReader::create(CodeGenDataUsePath, *FS);
+ CodeGenDataReader::Options Opts;
+#ifdef NDEBUG
----------------
nocchijiang wrote:
Actually this is exactly what I initially thought. Maybe I misunderstood your response in the RFC thread.
https://github.com/llvm/llvm-project/pull/142095
More information about the llvm-commits
mailing list