[all-commits] [llvm/llvm-project] c4c01e: [llvm-nm] Always use opaque pointers (PR55506)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 18 00:46:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4c01e4e4e388a1e3cefc9e3982ac15fb94d4f40
      https://github.com/llvm/llvm-project/commit/c4c01e4e4e388a1e3cefc9e3982ac15fb94d4f40
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    A llvm/test/tools/llvm-nm/opaque-pointers.ll
    M llvm/tools/llvm-nm/llvm-nm.cpp

  Log Message:
  -----------
  [llvm-nm] Always use opaque pointers (PR55506)

Always enable opaque pointers in llvm-nm, because the tool doesn't
actually care, and this allows us to read both typed pointer and
opaque pointer bitcode files in one archive. Previously this
depended on the order inside the archive (it would work with an
opaque pointer bitcode file first, but fail with a typed pointer
bitcode file first).

Fixes https://github.com/llvm/llvm-project/issues/55506.

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




More information about the All-commits mailing list