[clang] [clang-tools-extra] [lld] [lldb] [llvm] Rework the `Option` library to reduce dynamic relocations (PR #119198)

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 12:47:51 PST 2024


================
@@ -845,13 +845,14 @@ MemoryBufferRef LinkerDriver::convertResToCOFF(ArrayRef<MemoryBufferRef> mbs,
 
 // Create OptTable
 
+#define OPTTABLE_STR_TABLE_CODE
----------------
rnk wrote:

Is it feasible to split out all the tool driver updates, like refactor all these PREFIX definitions into the table-generated file guarded by `OPTTABLE_STR_TABLE_CODE`, and then make your changes on top of that?

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


More information about the llvm-commits mailing list