aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorAnshil Gandhi <Anshil.Gandhi@amd.com>2021-10-18 16:51:20 -0600
committerAnshil Gandhi <Anshil.Gandhi@amd.com>2021-10-18 16:53:15 -0600
commit0567f0333176e476e15b7f32b463f58f7475ff22 (patch)
tree39f78ef1e3390f566caf715bf8d25d2e0b9c207d /lldb/source/Plugins/ScriptInterpreter/Python
parentb477b927749707982414d06674c7d2af276e046c (diff)
downloadllvm-0567f0333176e476e15b7f32b463f58f7475ff22.zip
llvm-0567f0333176e476e15b7f32b463f58f7475ff22.tar.gz
llvm-0567f0333176e476e15b7f32b463f58f7475ff22.tar.bz2
[HIP] [AlwaysInliner] Disable AlwaysInliner to eliminate undefined symbols
By default clang emits complete contructors as alias of base constructors if they are the same. The backend is supposed to emit symbols for the alias, otherwise it causes undefined symbols. @yaxunl observed that this issue is related to the llvm options `-amdgpu-early-inline-all=true` and `-amdgpu-function-calls=false`. This issue is resolved by only inlining global values with internal linkage. The `getCalleeFunction()` in AMDGPUResourceUsageAnalysis also had to be extended to support aliases to functions. inline-calls.ll was corrected appropriately. Reviewed By: yaxunl, #amdgpu Differential Revision: https://reviews.llvm.org/D109707
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions