From 55a1d50b3ac3a3e6f6ae9c72b12b4adcde33da31 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 22 Apr 2016 20:07:59 +0000 Subject: [PATCH] Add missing options that were required to crash. llvm-svn: 267204 --- lld/test/ELF/gc-merge-local-sym.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/test/ELF/gc-merge-local-sym.s b/lld/test/ELF/gc-merge-local-sym.s index c5924da07923..a8d0d814a499 100644 --- a/lld/test/ELF/gc-merge-local-sym.s +++ b/lld/test/ELF/gc-merge-local-sym.s @@ -1,5 +1,5 @@ // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux -// RUN: ld.lld %t.o -o %t.so -shared +// RUN: ld.lld %t.o -o %t.so -shared -O3 --gc-sections // RUN: llvm-readobj -s -section-data -t %t.so | FileCheck %s // CHECK: Name: .rodata