[PATCH] D53470: [ELF] Don't warn on two legitimate cases when reading .llvm.call-graph-profile
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 22 15:03:53 PDT 2018
ruiu added inline comments.
================
Comment at: test/ELF/cgprofile-shared-warn.s:7
+
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/cgprofile-shared-warn.s -o %t1.o
+# RUN: ld.lld --shared %t1.o -o %t1.so
----------------
cgprofile-shared-warn.s is very small. Can you avoid checking in that file by doing this?
echo '.globl B; B: ret' | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t1.o
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D53470
More information about the llvm-commits
mailing list