[PATCH] D127600: [lld-macho] Make `--icf=safe` work with LTO
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 12 07:31:49 PDT 2022
int3 added a subscriber: alexbdv.
int3 added inline comments.
================
Comment at: lld/test/MachO/icf-safe.ll:5
+
+; RUN: llc -filetype=obj %s -O3 -o %t/icf-obj.o -enable-machine-outliner=never -mtriple arm64-apple-macos -addrsig
; RUN: %lld -arch arm64 -lSystem --icf=safe -dylib -o %t/icf-safe.dylib %t/icf-obj.o
----------------
question for @alexbdv: why the use of `-O3` and `-enable-machine-outliner=never` here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127600/new/
https://reviews.llvm.org/D127600
More information about the llvm-commits
mailing list