[PATCH] D48241: [DebugInfo] Emit ObjC methods as part of interface.

Jonas Devlieghere via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 26 07:06:56 PDT 2018


JDevlieghere added a comment.

I tested this patch on the LLDB test suite and all tests passed.

What I did was:

- I removed the DWARF version check in clang so this was always generated.
- I commented out the code that reads the .apple_objc accelerator tables in DWARFASTParserClang.cpp (which as far as I can tell is the only consumer). I expected to have to add logic to read the methods but the code already takes care of that, and just had a special if-clause for Objective-C classes. This is actually quite nice, as we don't need a code change to make both things working next to each other.


https://reviews.llvm.org/D48241





More information about the cfe-commits mailing list