diff options
author | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2020-09-16 18:51:26 +0300 |
---|---|---|
committer | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2020-09-16 18:51:26 +0300 |
commit | 06d058afecdf54021fbf8fece422dd04766227ea (patch) | |
tree | cc231ffa1fbdd159fb7f9013f9d9c94bcef54ec0 /llvm/lib/IR/Function.cpp | |
parent | f0546173fa4bdde03ecb21a174fcaa8a6490adbd (diff) | |
download | llvm-06d058afecdf54021fbf8fece422dd04766227ea.zip llvm-06d058afecdf54021fbf8fece422dd04766227ea.tar.gz llvm-06d058afecdf54021fbf8fece422dd04766227ea.tar.bz2 |
[AMDGPU] Corrected directive to use for ELF weak refs
WeakRefDirective should specify a directive to declare "a global as being a weak undefined symbol".
The directive used by AMDGPU was incorrect - ".weakref" was intended for other purposes.
The correct directive is ".weak" and it is already defined as default for ELF.
So the redefinition was removed.
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D87762
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions