diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-01-11 08:29:52 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-01-11 08:29:52 +0000 |
commit | 57b0e6a5c9561f61e06f1a931a1a36fb735c0f84 (patch) | |
tree | bb05cbb733d307d5454cca7ba08b3680a478f29c /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 2c96c433881bc65a6808386fbe213ea8227b09f2 (diff) | |
download | bcm5719-llvm-57b0e6a5c9561f61e06f1a931a1a36fb735c0f84.tar.gz bcm5719-llvm-57b0e6a5c9561f61e06f1a931a1a36fb735c0f84.zip |
[ELF] - Explicitly list supported relocations for x86 target.
Previously some value was returned by default for relocations by getRelExpr(),
even if relocation actually was not supported.
This is orthogonal alternative to D28094.
Instead of implementing probably useless R_386_PC8/R_386_8 relocations,
this patch uses them in a testcase to demonstrate what happens
when LLD mets unsupported relocations.
Patch passes all testcases and changes logic only for x86.
Differential revision: https://reviews.llvm.org/D28516
llvm-svn: 291658
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions