[llvm] Add adjustVMA option (PR #72870)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 01:49:44 PST 2024


================
@@ -316,6 +316,12 @@ static Error handleArgs(const CommonConfig &Config,
       Obj.PeHeader.MinorSubsystemVersion = *COFFConfig.MinorSubsystemVersion;
   }
 
+  if (!Config.AdjustSectionVMA.empty()) {
----------------
jh7370 wrote:

This isn't the correct place to handle unsupported options. Please see ConfigManager.cpp for how to handle options that are not yet implemented for some platforms, but might be in the future.

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


More information about the llvm-commits mailing list