[all-commits] [llvm/llvm-project] a2dc9f: [llvm-link] Fix options of llvm-link

Stephen Neuendorffer via All-commits all-commits at lists.llvm.org
Mon Nov 21 18:44:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2dc9f367c6be90589626a575f61ebea5409eee0
      https://github.com/llvm/llvm-project/commit/a2dc9f367c6be90589626a575f61ebea5409eee0
  Author: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    M llvm/tools/llvm-link/llvm-link.cpp

  Log Message:
  -----------
  [llvm-link] Fix options of llvm-link

This tool only parsed options after creating the LLVMContext.
Unfortunately, this means that some options, such as --opaque-pointers,
which are read when the LLVMContext is created are impossible to
set from the command line.  This patch moves the LLVMContext creation
after the option parsing.




More information about the All-commits mailing list