[PATCH] D31349: IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 22:32:37 PDT 2017


pcc added inline comments.


================
Comment at: llvm/lib/Bitcode/Reader/BitcodeReader.cpp:2619
+      LinkerOpts->addOperand(cast<MDNode>(MDOptions));
+  }
+
----------------
mehdi_amini wrote:
> Is there a test covering this? I see many (most?) have been updated to the new metadata.
> 
Yes, see llvm/test/Bitcode/upgrade-linker-options.ll


https://reviews.llvm.org/D31349





More information about the llvm-commits mailing list