Difference between revisions of "User:Jonas"

From Lazarus wiki
Jump to navigationJump to search
m (New page: ===Apple gcc Objective-C code=== gcc/objc/objc-act.c * generate_protocols(): create meta-class info for referenced protocols * encode_method_prototype(): toplevel function to create t...)
 
(objc abi link)
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
gcc/objc/objc-act.c
 
gcc/objc/objc-act.c
  * generate_protocols(): create meta-class info for referenced protocols
+
* generate_protocols(): create meta-class info for referenced protocols
  * encode_method_prototype(): toplevel function to create the parameter info ("i8@0:4\0" etc, objc_meth_var_types section)
+
* encode_method_prototype(): toplevel function to create the parameter info ("i8@0:4\0" etc, objc_meth_var_types section)
  * finish_objc(): generate all class metadata (rtti)
+
* finish_objc(): generate all class metadata (rtti)
 +
* Objective-C ABI: http://www.sealiesoftware.com/blog/
 +
 
 +
===LLVM Clang Objective-C code===
 +
http://llvm.org/svn/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp
 +
 
 +
===Exception handling===
 +
http://groups.google.com/group/llvm-dev/browse_thread/thread/ea4d79327b7e2c0a
 +
 
 +
===GCC Gimple frontend===
 +
http://gcc.gnu.org/wiki/GimpleFrontEnd
 +
 
 +
===Debug info===
 +
* [https://sourceware.org/ml/gdb-patches/2015-08/msg00114.html Create debug info for "procedure xxx; external name 'yyy';"]
 +
* Dynamic arrays
 +
** [https://sourceware.org/ml/gdb-patches/2015-01/msg00376.html Fortran support]
 +
** [https://sourceware.org/ml/gdb-patches/2015-08/msg00143.html More Fortran support]
 +
** [https://sourceware.org/ml/gdb-patches/2015-01/msg00414.html Treating nil pointer as empty]
 +
* [https://sourceware.org/ml/gdb-patches/2015-07/msg00931.html Nested functions]
 +
 
 +
===LLVM===
 +
* don't use i1 for memory data: http://lists.llvm.org/pipermail/llvm-dev/2015-July/088645.html
 +
* frontend performance tips: http://llvm.org/docs/Frontend/PerformanceTips.html

Latest revision as of 00:48, 21 February 2016

Apple gcc Objective-C code

gcc/objc/objc-act.c

  • generate_protocols(): create meta-class info for referenced protocols
  • encode_method_prototype(): toplevel function to create the parameter info ("i8@0:4\0" etc, objc_meth_var_types section)
  • finish_objc(): generate all class metadata (rtti)
  • Objective-C ABI: http://www.sealiesoftware.com/blog/

LLVM Clang Objective-C code

http://llvm.org/svn/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp

Exception handling

http://groups.google.com/group/llvm-dev/browse_thread/thread/ea4d79327b7e2c0a

GCC Gimple frontend

http://gcc.gnu.org/wiki/GimpleFrontEnd

Debug info

LLVM