diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-04-05 12:07:20 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-04-05 12:07:20 +0000 |
commit | f9936e1fc909cfb56c26d8b1e7e6c84d5d96036e (patch) | |
tree | 0f5f01b6a1925ba1e4163e94b154f4d5d2269b8b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 020ba253d8a80946fa47f4764e40542b1eeef9ed (diff) | |
download | bcm5719-llvm-f9936e1fc909cfb56c26d8b1e7e6c84d5d96036e.tar.gz bcm5719-llvm-f9936e1fc909cfb56c26d8b1e7e6c84d5d96036e.zip |
[ELF] - Eliminate Target::isPicRel method.
As was mentioned in comments for D45158,
isPicRel's name does not make much sense,
because what this method does is checks if
we need to create the dynamic relocation or not.
Instead of renaming it to something different,
we can 'isPicRel' completely.
We can reuse the getDynRel method.
They are logically very close, getDynRel can just return
R_*_NONE in case no dynamic relocation should be produced
and that would simplify things and avoid functionality
correlation/duplication with 'isPicRel'.
The patch does this change.
Differential revision: https://reviews.llvm.org/D45248
llvm-svn: 329275
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions