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

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 17:56:55 PST 2024


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

I have no idea. It took a lot of work to get even this to work, figuring out each of the different ways that these macros fail.

Unless its impossible to get this reviewed as-is, I'd really rather not add an intermediate state that is entirely artificial compared to what is here...

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


More information about the llvm-commits mailing list