OSDN Git Service

Remove size 1 from check as that isn't part of what the test is meant to be testing.
authorKristof Beyls <kristof.beyls@arm.com>
Wed, 27 Apr 2016 15:03:09 +0000 (15:03 +0000)
committerKristof Beyls <kristof.beyls@arm.com>
Wed, 27 Apr 2016 15:03:09 +0000 (15:03 +0000)
commit50070643c3bcf540fc94a2fb5af94e0a847a1246
tree02c7ae0e340f56b900d370c346ba68a41176c5fc
parent40978a44773506023915aaac37c1163a453f6a70
Remove size 1 from check as that isn't part of what the test is meant to be testing.

This test also runs on e.g. ARM-native builds when the X86 backend is also
built.  This test produces code for the default instruction set, even though it
is in a "X86" sub-directory. Given that this test doesn't seem to be testing
anything architecture-specific, it seems it's best to adapt the check to not
check for an architecture-dependent value (the size of the function), rather
than hard-code the test to target x86.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267722 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/gold/X86/visibility.ll