[all-commits] [llvm/llvm-project] b87a12: [ObjC] Encode pointers to C++ classes as "^v" if t...
Akira Hatanaka via All-commits
all-commits at lists.llvm.org
Thu Feb 18 09:38:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b87a120820989844dc206c66bd0272b5238a14d1
https://github.com/llvm/llvm-project/commit/b87a120820989844dc206c66bd0272b5238a14d1
Author: Akira Hatanaka <ahatanaka at apple.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/AST/ASTContext.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGenObjCXX/encode.mm
A clang/test/Driver/objc-encode-cxx-class-template-spec.m
Log Message:
-----------
[ObjC] Encode pointers to C++ classes as "^v" if the encoded string
would otherwise include template specialization types
This helps reduce the size of the encoded C++ type strings in the binary.
This is enabled by default only on Darwin, but can be enabled/disabled
via command line options.
rdar://63288571
Differential Revision: https://reviews.llvm.org/D96816
More information about the All-commits
mailing list