On Tue, 23 Dec 2003, yue wrote:> how to explain the following two statement in detail?
I'm not exactly sure what you mean but...
> (1) %struct.TorRec = type { int, void ()* }
This associates a name with a structure whose first element is a 32-bit
signed integer, and the second element is a pointer to a null-ary function
which returns void.
> (2) "struct._GLOBAL__N_::vtable_prefix" = type { int,
> "struct.__cxxabiv1::__class_type_info"*, sbyte* }
This associates a name with a structure whose first element is an integer,
whose second element is a pointer to the named
"struct.__cxxabiv1::__class_type_info" type, and whose third element
is a
pointer to a signed byte.
If you haven't already, you should check out the LLVM language reference
manual, where these things are defined:
http://llvm.cs.uiuc.edu/docs/LangRef.html
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/