search for: __objc

Displaying 4 results from an estimated 4 matches for "__objc".

2017 Jun 22
2
RFC: Cleaning up the Itanium demangler
...ler is its size. It's at least twice as large as the one > in elftoolchain, even ignoring some possible feature differences. Looks pretty good, I'm guessing this is because all the string operations aren't getting inlined into the parser anymore. Before this patch: __TEXT __DATA __OBJC others dec hex 247293 0 0 1248 248541 3cadd libc++abi.a(cxa_demangle.cpp.o) After this patch: __TEXT __DATA __OBJC others dec hex 137723 4216 0 6016 147955 241f3 libc++abi.a(cxa_demangle.cpp.o) > > Joerg > ______________...
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...MOD_TERM_FUNC_POINTERS, - 4); - if (IDVal == ".const_data") - return ParseDirectiveSectionSwitch("__DATA", "__const"); - - - if (IDVal == ".objc_class") - return ParseDirectiveSectionSwitch("__OBJC", "__class", - MCSectionMachO::S_ATTR_NO_DEAD_STRIP); - if (IDVal == ".objc_meta_class") - return ParseDirectiveSectionSwitch("__OBJC", "__meta_class", - MCSectionMa...
2013 May 11
1
[LLVMdev] Assertion in the linker on Mac OS X
...in place and I'm now trying to make sure everything works after the merging the latest changes from the D compiler. The problem I have is when linking some code that calls an Objective-C method. As far as I understand the object file is supposed to contain a section __message_refs, in the __OBJC segment. This section contains pointers to C strings, which contain the names of the Objective-C selectors (methods). The C strings are stored in the __cstring __TEXT section and segment. As far as I can see the these sections looks to have the correct flags and contents. The problem is I'...
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
Hello all, The itanium demangler in libcxxabi (and also, llvm/lib/Demangle) is really slow. This is largely because the textual representation of the symbol that is being demangled is held in a std::string, and manipulations done during parsing are done on that string. The demangler is always concatenating strings and inserting into the middle of strings, which is terrible. The fact that the