diff options
author | Rui Ueyama <ruiu@google.com> | 2018-07-09 22:03:05 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-07-09 22:03:05 +0000 |
commit | 3e730b8ae6aadcb039bb6b753a4e54a574f72b18 (patch) | |
tree | b00fc501914a917b441895be1946df3f4cc791ca /llvm/lib/Target/AMDGPU/AMDGPUIntrinsicInfo.cpp | |
parent | ec34220f5cf000d8bfc6c1fcedd8b1abe25d23fa (diff) | |
download | bcm5719-llvm-3e730b8ae6aadcb039bb6b753a4e54a574f72b18.tar.gz bcm5719-llvm-3e730b8ae6aadcb039bb6b753a4e54a574f72b18.zip |
Fix direct calls to __wrap_sym when it is relocated.
Patch by Matthew Koontz!
Before, direct calls to __wrap_sym would not map to valid PLT entries,
so they would crash at runtime. This change maps such calls to the same
PLT entry as calls to sym that are then wrapped.
Differential Revision: https://reviews.llvm.org/D48502
llvm-svn: 336609
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUIntrinsicInfo.cpp')
0 files changed, 0 insertions, 0 deletions