diff options
| author | Petr Hosek <phosek@chromium.org> | 2017-09-13 03:04:50 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2017-09-13 03:04:50 +0000 |
| commit | c113577d1599c79019eed054676ced9c41f2e7ca (patch) | |
| tree | 9caa60cbf79ce74e13f734401ab63aa65a704802 /llvm/test/Object/archive-replace-pos.test | |
| parent | a2aa64760d79d32c35f60632d266f61e5a00ca7d (diff) | |
| download | bcm5719-llvm-c113577d1599c79019eed054676ced9c41f2e7ca.tar.gz bcm5719-llvm-c113577d1599c79019eed054676ced9c41f2e7ca.zip | |
[llvm-objcopy] Add e_machine validity check for reserved section indexes
As discussed on llvm-commits it was decided it would be best to check
e_machine before declaring that a reserved section index is valid. The
only special e_machine value that matters here is EM_HEXAGON. This
change adds a special check for EM_HEXAGON.
Patch by Jake Ehrlich
Differential Revision: https://reviews.llvm.org/D37767
llvm-svn: 313114
Diffstat (limited to 'llvm/test/Object/archive-replace-pos.test')
0 files changed, 0 insertions, 0 deletions

