diff options
| author | Josh Learn <joshua_learn@apple.com> | 2021-11-12 16:17:18 -0800 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2021-11-12 16:21:21 -0800 |
| commit | 7611e16fce9ce36b6bd6dceda691f6bc7e754347 (patch) | |
| tree | bce9c795982828923e4ce875a52c9bce12427b97 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | cb0e14ce6dcdd614a7207f4ce6fcf81a164471ab (diff) | |
[clang][objc][codegen] Skip emitting ObjC category metadata when the
category is empty
Currently, if we create a category in ObjC that is empty, we still emit
runtime metadata for that category. This is a scenario that could
commonly be run into when using __attribute__((objc_direct_members)),
which elides the need for much of the category metadata. This is
slightly wasteful and can be easily skipped by checking the category
metadata contents during CodeGen.
rdar://66177182
Differential Revision: https://reviews.llvm.org/D113455
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
