[llvm] [clang-tools-extra] [clang] [llvm-profdata] Emit warning when counter value is greater than 2^56. (PR #69513)

David Li via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 11:27:32 PDT 2023


================
@@ -314,7 +314,22 @@ static void loadInput(const WeightedFile &Input, SymbolRemapper *Remapper,
   }
 
   auto FS = vfs::getRealFileSystem();
-  auto ReaderOrErr = InstrProfReader::create(Input.Filename, *FS, Correlator);
+  // TODO: This only saves the first non-fatal error from InstrProfReader, and
+  // then added to WriterContext::Errors. However, this is not extensiable, if
----------------
david-xl wrote:

extensiable --> extensible

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


More information about the cfe-commits mailing list