From: Joe Abbey
PATypeHolder and OpaqueType are gone,
+ and all APIs deal with Type* instead of const
+ Type*. If you need to create recursive structures, then create a
+ named structure, and use setBody() when all its elements are
+ built. Type merging and refining is gone too: named structures are not
+ merged with other structures, even if their layout is identical. (of
+ course anonymous structures are still uniqued by layout).PHINode::reserveOperandSpace has been removed. Instead, you
must specify how many operands to reserve space for when you create the
@@ -1225,15 +1230,6 @@ be used to verify some algorithms.
use DIBuilder::finalize() at the end of translation unit to
complete debugging information encoding.PATypeHolder and OpaqueType are gone,
- and all APIs deal with Type* instead of const
- Type*. If you need to create recursive structures, then create a
- named structure, and use setBody() when all its elements are
- built. Type merging and refining is gone too: named structures are not
- merged with other structures, even if their layout is identical. (of
- course anonymous structures are still uniqued by layout).