[MC][ELF] fix newly added test
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 12 Oct 2018 16:35:44 +0000 (16:35 +0000)
committerNick Desaulniers <ndesaulniers@google.com>
Fri, 12 Oct 2018 16:35:44 +0000 (16:35 +0000)
commit47bab69a2ecfaa4f4f89609e162914ca5c1d63f0
treee9ea36baea0bda02ec10e11ed7890be5dce850e4
parent9f169afab22b7334739c9de0ea1a1ab1ee0c357e
[MC][ELF] fix newly added test

Summary:
Reland of
- r344197 "[MC][ELF] compute entity size for explicit sections"
- r344206 "[MC][ELF] Fix section_mergeable_size.ll"
after being reverted in r344278 due to build breakages from not
specifying a target triple.

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

Reviewers: fhahn, rnk, espindola, NoQ

Reviewed By: fhahn, rnk

Subscribers: NoQ, MaskRay, rengolin, emaste, arichardson, llvm-commits, pirama, srhines

Differential Revision: https://reviews.llvm.org/D53146

llvm-svn: 344360
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/CodeGen/X86/section_mergeable_size.ll [new file with mode: 0644]