[clang] [compiler-rt] [llvm] Migrate llvm-profdata to Opt flag parsing (PR #177868)

Prabhu Rajasekaran via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 12 20:19:08 PST 2026


================
@@ -35,47 +42,28 @@
 #include "llvm/Support/FileSystem.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/FormattedStream.h"
-#include "llvm/Support/InitLLVM.h"
+#include "llvm/Support/LLVMDriver.h"
 #include "llvm/Support/MD5.h"
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/Support/Path.h"
 #include "llvm/Support/Regex.h"
+#include "llvm/Support/StringSaver.h"
 #include "llvm/Support/ThreadPool.h"
 #include "llvm/Support/Threading.h"
 #include "llvm/Support/VirtualFileSystem.h"
 #include "llvm/Support/WithColor.h"
 #include "llvm/Support/raw_ostream.h"
 #include <algorithm>
 #include <cmath>
+#include <limits>
 #include <optional>
 
+#include "Opts.inc"
----------------
Prabhuk wrote:

This include of Opts.inc is incorrect. Needs to be removed

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


More information about the cfe-commits mailing list