[lld] dec1614 - [LLD][COFF] Ignore /pdbcompress flag

Pengxuan Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 16:48:50 PDT 2022


Author: Pengxuan Zheng
Date: 2022-06-20T16:48:39-07:00
New Revision: dec16147912d7991dd665d4253f0358689b2cea6

URL: https://github.com/llvm/llvm-project/commit/dec16147912d7991dd665d4253f0358689b2cea6
DIFF: https://github.com/llvm/llvm-project/commit/dec16147912d7991dd665d4253f0358689b2cea6.diff

LOG: [LLD][COFF] Ignore /pdbcompress flag

Microsoft does not seem to document the flag. Ignoring it for now is probably
better than getting an unknown flag error.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D128231

Added: 
    

Modified: 
    lld/COFF/Options.td

Removed: 
    


################################################################################
diff  --git a/lld/COFF/Options.td b/lld/COFF/Options.td
index 1116eb871412..2d87a5edf590 100644
--- a/lld/COFF/Options.td
+++ b/lld/COFF/Options.td
@@ -296,6 +296,7 @@ def nologo : F<"nologo">;
 def throwingnew : F<"throwingnew">;
 def editandcontinue : F<"editandcontinue">;
 def fastfail : F<"fastfail">;
+def pdbcompress : F<"pdbcompress">;
 
 def delay : P_priv<"delay">;
 def errorreport : P_priv<"errorreport">;


        


More information about the llvm-commits mailing list