OSDN Git Service

[llvm-objcopy] Add test to check that architecture specific values are not used on...
authorJake Ehrlich <jakehehrlich@google.com>
Tue, 19 Sep 2017 19:05:15 +0000 (19:05 +0000)
committerJake Ehrlich <jakehehrlich@google.com>
Tue, 19 Sep 2017 19:05:15 +0000 (19:05 +0000)
commitb43e08fc022866d938127b1c996d4e7b333405e9
treea85820a69c17af36c90b5efd338be25612b18db4
parent7e1bf43cb73d0807d32b6afd500eaac3c33ba8e3
[llvm-objcopy] Add test to check that architecture specific values are not used on wrong architecture.

This change adds a test that checks the an error is produced when a hexagon
specific reserved section index is used but e_machine is not EM_HEXAGON.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313661 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/hexagon-unsupported-on-x86.test [new file with mode: 0644]
test/tools/llvm-objcopy/section-index-unsupported.test