aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorShimin Cui <scui@ca.ibm.com>2024-10-17 12:10:05 -0400
committerGitHub <noreply@github.com>2024-10-17 12:10:05 -0400
commit020566701030425f44eb80387d0ae76c5a867aa9 (patch)
tree1436844f32c5fd7b046e1acf07e3aec6ab1d1912 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent94643a45b4c549b27407803277ec88b78315e2d9 (diff)
downloadllvm-020566701030425f44eb80387d0ae76c5a867aa9.zip
llvm-020566701030425f44eb80387d0ae76c5a867aa9.tar.gz
llvm-020566701030425f44eb80387d0ae76c5a867aa9.tar.bz2
[LTO] Add function alias as function instead of data (#112599)
On AIX, for undefined functions, only the dotnamed symbols (the address of the function) are generated after linking (i.e., no named function symbol is generated).   Currently, all alias symbols are added as defined data symbols when parsing symbols in LTOModule (the Link Time Optimization library used by linker to optimization code at link time). On AIX, if the function alias is used in the native object, and only its dotnamed symbol is generated, the linker will have problem to match the dotnamed symbol from the native object and the defined symbol marked as data from the bitcode at LTO linktime.   This patch is to add function alias as function instead of data.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions