[all-commits] [llvm/llvm-project] f5ddcf: [lld-macho] Extend lto-internalize-unnamed-addr.ll

Jez Ng via All-commits all-commits at lists.llvm.org
Wed Mar 16 14:30:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5ddcf25d67f3dbdbb486fbcf48c5247d4f59d6a
      https://github.com/llvm/llvm-project/commit/f5ddcf25d67f3dbdbb486fbcf48c5247d4f59d6a
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M lld/test/MachO/lto-internalize-unnamed-addr.ll

  Log Message:
  -----------
  [lld-macho] Extend lto-internalize-unnamed-addr.ll

* Test the case where a symbol is sometimes linkonce_odr and sometimes weak_odr
* Test the visibility of the symbols at the IR level, after the internalize
  stage of LTO is done. (Previously we only checked the visibility of
  symbols in the final output binary.)

Reviewed By: modimo

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




More information about the All-commits mailing list