[all-commits] [llvm/llvm-project] 46d4d1: [AIX] do not emit visibility attribute into IR whe...
diggerlin via All-commits
all-commits at lists.llvm.org
Tue Mar 9 07:39:04 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46d4d1fea401de1d22fe746077a4ca4dd7e137b4
https://github.com/llvm/llvm-project/commit/46d4d1fea401de1d22fe746077a4ca4dd7e137b4
Author: diggerlin <digger.llvm at gmail.com>
Date: 2021-03-09 (Tue, 09 Mar 2021)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/LangOptions.def
M clang/lib/AST/Decl.cpp
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/test/CodeGen/aix-ignore-xcoff-visibility.cpp
A clang/test/CodeGen/aix-visibility-inlines-hidden.cpp
Log Message:
-----------
[AIX] do not emit visibility attribute into IR when there is -mignore-xcoff-visibility
SUMMARY:
n the patch https://reviews.llvm.org/D87451 "add new option -mignore-xcoff-visibility"
we did as "The option -mignore-xcoff-visibility has no effect on visibility attribute when compile with -emit-llvm option to generated LLVM IR."
in these patch we let -mignore-xcoff-visibility effect on generating IR too. the new feature only work on AIX OS
Reviewer: Jason Liu,
Differential Revision: https://reviews.llvm.org/D89986
More information about the All-commits
mailing list