[lld] r286857 - [ELF] Clarify why `lld -flavor gnu` is used.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 10:20:20 PST 2016
Author: davide
Date: Mon Nov 14 12:20:20 2016
New Revision: 286857
URL: http://llvm.org/viewvc/llvm-project?rev=286857&view=rev
Log:
[ELF] Clarify why `lld -flavor gnu` is used.
Pointed out by Rafael!
Modified:
lld/trunk/test/ELF/lto/timepasses.ll
Modified: lld/trunk/test/ELF/lto/timepasses.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/timepasses.ll?rev=286857&r1=286856&r2=286857&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/timepasses.ll (original)
+++ lld/trunk/test/ELF/lto/timepasses.ll Mon Nov 14 12:20:20 2016
@@ -1,3 +1,5 @@
+; We use lld -flavor gnu because llvm-lit will append --full-shutdown to
+; the ld.lld invocation.
; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: lld -flavor gnu %t.o -o %t.so -shared -mllvm -time-passes 2>&1 | FileCheck %s
More information about the llvm-commits
mailing list