[PATCH] D53146: [MC][ELF] fix newly added test
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 11 10:20:14 PDT 2018
nickdesaulniers created this revision.
nickdesaulniers added reviewers: fhahn, rnk.
Herald added subscribers: llvm-commits, arichardson, emaste.
Herald added a reviewer: espindola.
Move test from test/CodeGen/Generic/ to test/MC/ELF/.
Add explicit target triple so we don't try to run
this test on non ELF targets.
Reported: https://reviews.llvm.org/D53056#1261707
Repository:
rL LLVM
https://reviews.llvm.org/D53146
Files:
test/CodeGen/Generic/section_mergeable_size.ll
test/MC/ELF/section_mergeable_size.ll
Index: test/MC/ELF/section_mergeable_size.ll
===================================================================
--- test/MC/ELF/section_mergeable_size.ll
+++ test/MC/ELF/section_mergeable_size.ll
@@ -1,3 +1,3 @@
-; RUN: llc < %s | FileCheck %s
+; RUN: llc -mtriple x86_64-linux-gnu < %s | FileCheck %s
@a = internal unnamed_addr constant [1 x [1 x i32]] zeroinitializer, section ".init.rodata", align 4
; CHECK: .init.rodata,"aM",{{[@%]}}progbits,4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53146.169239.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181011/528bc12e/attachment.bin>
More information about the llvm-commits
mailing list