Ghidra is a software reverse engineering (SRE) framework
GT-3112 - PDB Universal - more review changes
ghizard6d0d66640b4b
diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/plugin/core/analysis/PdbUniversalAnalyzer.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/plugin/core/analysis/PdbUniversalAnalyzer.javaindex a15e40590c..8d9e579318 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/plugin/core/analysis/PdbUniversalAnalyzer.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/plugin/core/analysis/PdbUniversalAnalyzer.java@@ -181,11 +181,11 @@ public class PdbUniversalAnalyzer extends AbstractAnalyzer {"If checked, attempts to apply function parameters and local variables for program functions.";private boolean applyFunctionVariables;- // Sets the composite layout mode.+ // Sets the composite layout choice.// Legacy// - similar to existing DIA-based PDB Analyzer, only placing current composite direct// members (none from parent classes.- // Warning: the remaining experimental layout modes may not be kept and are not guaranteed+ // Warning: the remaining experimental layout choices may not be kept and are not guaranteed// to result in data types that will be compatible with future Ghidra releases:// Complex with Basic Fallback// - Performs Complex layout, but if the current class has no parent classes, it will not@@ -196,11 +196,11 @@ public class PdbUniversalAnalyzer extends AbstractAnalyzer {// Complex// - Puts all current class members and 'direct' parents' 'direct' components into an// encapsulating 'direct' container- private static final String OPTION_NAME_COMPOSITE_LAYOUT_MODE = "Composite Layout Mode";- private static final String OPTION_DESCRIPTION_COMPOSITE_LAYOUT_MODE =- "Legacy mode like original PDB Analyzer. Warning: other modes have no compatibility" ++ private static final String OPTION_NAME_COMPOSITE_LAYOUT_CHOICE = "Composite Layout Choice";+ private static final String OPTION_DESCRIPTION_COMPOSITE_LAYOUT_CHOICE =+ "Legacy layout like original PDB Analyzer. Warning: other choices have no compatibility" +" guarantee with future Ghidra releases or minor PDB Analyzer changes";- private CompositeLayoutMode compositeLayoutMode;+ private ObjectOrientedClassLayoutChoice compositeLayoutChoice;//==============================================================================================// Additional instance data@@ -397,8 +397,8 @@ public class PdbUniversalAnalyzer extends AbstractAnalyzer {OPTION_DESCRIPTION_ALLOW_DEMOTE_MANGLED_PRIMARY);options.registerOption(OPTION_NAME_APPLY_FUNCTION_VARIABLES, applyFunctionVariables,null, OPTION_DESCRIPTION_APPLY_FUNCTION_VARIABLES);- options.registerOption(OPTION_NAME_COMPOSITE_LAYOUT_MODE, compositeLayoutMode, null,- OPTION_DESCRIPTION_COMPOSITE_LAYOUT_MODE);+ options.registerOption(OPTION_NAME_COMPOSITE_LAYOUT_CHOICE, compositeLayoutChoice, null,+ OPTION_DESCRIPTION_COMPOSITE_LAYOUT_CHOICE);}}@@ -464,8 +464,8 @@ public class PdbUniversalAnalyzer extends AbstractAnalyzer {OPTION_NAME_ALLOW_DEMOTE_MANGLED_PRIMARY, allowDemotePrimaryMangledSymbol);applyFunctionVariables =options.getBoolean(OPTION_NAME_APPLY_FUNCTION_VARIABLES, applyFunctionVariables);- compositeLayoutMode =- options.getEnum(OPTION_NAME_COMPOSITE_LAYOUT_MODE, compositeLayoutMode);+ compositeLayoutChoice =+ options.getEnum(OPTION_NAME_COMPOSITE_LAYOUT_CHOICE, compositeLayoutChoice);}setPdbApplicatorOptions();}@@ -555,16 +555,17 @@ public class PdbUniversalAnalyzer extends AbstractAnalyzer {}private void getPdbApplicatorOptions() {- applyCodeScopeBlockComments = pdbApplicatorOptions.applyCodeScopeBlockComments();- applyDataTypesOnly = pdbApplicatorOptions.applyDataTypesOnly();- applyPublicSymbolsOnly = pdbApplicatorOptions.applyPublicSymbolsOnly();+ applyCodeScopeBlockComments = PdbApplicatorOptions.DEFAULT_APPLY_CODE_SCOPE_BLOCK_COMMENTS;+ applyDataTypesOnly = PdbApplicatorOptions.DEFAULT_APPLY_DATA_TYPES_ONLY;+ applyPublicSymbolsOnly = PdbApplicatorOptions.DEFAULT_APPLY_PUBLIC_SYMBOLS_ONLY;- applyInstructionLabels = pdbApplicatorOptions.applyInstructionLabels();+ applyInstructionLabels = PdbApplicatorOptions.DEFAULT_APPLY_INSTRUCTION_LABELS;remapAddressUsingExistingPublicMangledSymbols =- pdbApplicatorOptions.remapAddressUsingExistingPublicMangledSymbols();- allowDemotePrimaryMangledSymbol = pdbApplicatorOptions.allowDemotePrimaryMangledSymbol();- applyFunctionVariables = pdbApplicatorOptions.applyFunctionVariables();- compositeLayoutMode = pdbApplicatorOptions.getCompositeLayoutMode();+ PdbApplicatorOptions.DEFAULT_REMAP_ADDRESSES_USING_EXISTING_SYMBOLS;+ allowDemotePrimaryMangledSymbol =+ PdbApplicatorOptions.DEFAULT_ALLOW_DEMOTE_PRIMARY_MANGLED_SYMBOLS;+ applyFunctionVariables = PdbApplicatorOptions.DEFAULT_APPLY_FUNCTION_VARIABLES;+ compositeLayoutChoice = PdbApplicatorOptions.DEFAULT_CLASS_LAYOUT_CHOICE;}private void setPdbApplicatorOptions() {@@ -573,11 +574,11 @@ public class PdbUniversalAnalyzer extends AbstractAnalyzer {pdbApplicatorOptions.setApplyCodeScopeBlockComments(applyCodeScopeBlockComments);pdbApplicatorOptions.setApplyInstructionLabels(applyInstructionLabels);- pdbApplicatorOptions.setRemapAddressUsingExistingPublicMangledSymbols(+ pdbApplicatorOptions.setRemapAddressUsingExistingPublicSymbols(remapAddressUsingExistingPublicMangledSymbols);- pdbApplicatorOptions.setAllowDemotePrimaryMangledSymbol(allowDemotePrimaryMangledSymbol);+ pdbApplicatorOptions.setAllowDemotePrimaryMangledSymbols(allowDemotePrimaryMangledSymbol);pdbApplicatorOptions.setApplyFunctionVariables(applyFunctionVariables);- pdbApplicatorOptions.setCompositeLayoutMode(compositeLayoutMode);+ pdbApplicatorOptions.setClassLayoutChoice(compositeLayoutChoice);}private boolean confirmDirectory(File path) {diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/AbstractFunctionTypeApplier.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/AbstractFunctionTypeApplier.javaindex 009174ddb0..e5e7c459ab 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/AbstractFunctionTypeApplier.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/AbstractFunctionTypeApplier.java@@ -30,9 +30,9 @@ public abstract class AbstractFunctionTypeApplier extends MsTypeApplier {private FunctionDefinitionDataType functionDefinition;private MsTypeApplier returnApplier;- ArgumentsListTypeApplier argsListApplier;- CallingConvention callingConvention;- boolean hasThisPointer;+ private ArgumentsListTypeApplier argsListApplier;+ private CallingConvention callingConvention;+ private boolean hasThisPointer;/*** Constructor for the applicator that applies a "function" type, transforming it into adiff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CompositeTypeApplier.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CompositeTypeApplier.javaindex 12278282a4..130daaba15 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CompositeTypeApplier.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CompositeTypeApplier.java@@ -330,7 +330,7 @@ public class CompositeTypeApplier extends AbstractComplexTypeApplier {// TODO: Investigate. We should do this check for some classes somewhere. Should// we do it here. Set breakpoint here to investigate.}- classType.createLayout(applicator.getPdbApplicatorOptions().getCompositeLayoutMode(),+ classType.createLayout(applicator.getPdbApplicatorOptions().getClassLayoutChoice(),applicator.getVbtManager(), applicator.getCancelOnlyWrappingMonitor());}diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CppCompositeType.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CppCompositeType.javaindex dab32bcbfa..df7247a2b1 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CppCompositeType.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CppCompositeType.java@@ -51,7 +51,7 @@ public class CppCompositeType {private Composite composite;private CategoryPath categoryPath;- private OoComponentLayoutMode layoutMode = OoComponentLayoutMode.UNKNOWN;+ private ObjectOrientedClassLayout classLayout = ObjectOrientedClassLayout.UNKNOWN;private List<ClassPdbMember> memberData;@@ -583,30 +583,31 @@ public class CppCompositeType {return builder.toString();}- public OoComponentLayoutMode getLayoutMode(CompositeLayoutMode layoutOptions) {- if (layoutMode == OoComponentLayoutMode.UNKNOWN) {- layoutMode = determineLayoutMode(layoutOptions);+ public ObjectOrientedClassLayout getLayout(ObjectOrientedClassLayoutChoice layoutOptions) {+ if (classLayout == ObjectOrientedClassLayout.UNKNOWN) {+ classLayout = determineClassLayout(layoutOptions);}- return layoutMode;+ return classLayout;}- private OoComponentLayoutMode determineLayoutMode(CompositeLayoutMode layoutOptions) {- OoComponentLayoutMode initialModeDetermination;- if (layoutOptions.getLayoutMode() == OoComponentLayoutMode.MEMBERS_ONLY) {- return OoComponentLayoutMode.MEMBERS_ONLY;+ private ObjectOrientedClassLayout determineClassLayout(+ ObjectOrientedClassLayoutChoice layoutOptions) {+ ObjectOrientedClassLayout initialLayoutDetermination;+ if (layoutOptions.getClassLayout() == ObjectOrientedClassLayout.MEMBERS_ONLY) {+ return ObjectOrientedClassLayout.MEMBERS_ONLY;}else if (getNumLayoutBaseClasses() == 0) {- initialModeDetermination = OoComponentLayoutMode.BASIC;+ initialLayoutDetermination = ObjectOrientedClassLayout.BASIC;}else if (getNumLayoutVirtualBaseClasses() == 0) {- initialModeDetermination = OoComponentLayoutMode.SIMPLE;+ initialLayoutDetermination = ObjectOrientedClassLayout.SIMPLE;}else {- initialModeDetermination = OoComponentLayoutMode.COMPLEX;+ initialLayoutDetermination = ObjectOrientedClassLayout.COMPLEX;}- OoComponentLayoutMode optionsMode = layoutOptions.getLayoutMode();- return optionsMode.compareTo(initialModeDetermination) >= 0 ? optionsMode- : initialModeDetermination;+ ObjectOrientedClassLayout classLyoutOption = layoutOptions.getClassLayout();+ return classLyoutOption.compareTo(initialLayoutDetermination) >= 0 ? classLyoutOption+ : initialLayoutDetermination;}boolean isZeroSize() {@@ -628,7 +629,7 @@ public class CppCompositeType {//----------------------------------------------------------------------------------------------//----------------------------------------------------------------------------------------------- public void createLayout(CompositeLayoutMode layoutOptions, VbtManager vbtManager,+ public void createLayout(ObjectOrientedClassLayoutChoice layoutOptions, VbtManager vbtManager,TaskMonitor monitor) throws PdbException, CancelledException {if (vbtManager instanceof PdbVbtManager) { // Information from PDB/program symbols// TODO: both same for now@@ -642,11 +643,11 @@ public class CppCompositeType {//----------------------------------------------------------------------------------------------//----------------------------------------------------------------------------------------------- public void createVbtBasedLayout(CompositeLayoutMode layoutOptions, VbtManager vbtManager,- TaskMonitor monitor) throws PdbException, CancelledException {+ public void createVbtBasedLayout(ObjectOrientedClassLayoutChoice layoutOptions,+ VbtManager vbtManager, TaskMonitor monitor) throws PdbException, CancelledException {CategoryPath cn;hasDirect = false;- switch (getLayoutMode(layoutOptions)) {+ switch (getLayout(layoutOptions)) {case MEMBERS_ONLY:addLayoutPdbMembers(memberData, layoutMembers);break;@@ -697,7 +698,7 @@ public class CppCompositeType {}directClassLength = getCompositeLength(directDataType);}- if (getLayoutMode(layoutOptions) == OoComponentLayoutMode.SIMPLE) {+ if (getLayout(layoutOptions) == ObjectOrientedClassLayout.SIMPLE) {// Not using the dummy/direct type (only used it to get the// directClassLength), so remove it and add the members to the main// type instead.@@ -767,8 +768,8 @@ public class CppCompositeType {//----------------------------------------------------------------------------------------------//----------------------------------------------------------------------------------------------- public void createSpeculativeLayout(CompositeLayoutMode layoutOptions, VbtManager vbtManager,- TaskMonitor monitor) throws PdbException, CancelledException {+ public void createSpeculativeLayout(ObjectOrientedClassLayoutChoice layoutOptions,+ VbtManager vbtManager, TaskMonitor monitor) throws PdbException, CancelledException {// Speculative Layout uses recursion to try to know the order of members. However, MSFT// rearranges the order of the Base Class records such that they are not necessarily in// the order that the class was declared, and it seems that the member order follows the@@ -778,7 +779,7 @@ public class CppCompositeType {// get moved.CategoryPath cn;hasDirect = false;- switch (getLayoutMode(layoutOptions)) {+ switch (getLayout(layoutOptions)) {case MEMBERS_ONLY:addLayoutPdbMembers(memberData, layoutMembers);break;@@ -833,7 +834,7 @@ public class CppCompositeType {}directClassLength = getCompositeLength(directDataType);}- if (getLayoutMode(layoutOptions) == OoComponentLayoutMode.SIMPLE) {+ if (getLayout(layoutOptions) == ObjectOrientedClassLayout.SIMPLE) {// Not using the dummy/direct type (only used it to get the// directClassLength), so remove it and add the members to the main// type instead.@@ -1348,8 +1349,8 @@ public class CppCompositeType {return attributes;}- OoComponentLayoutMode getLayoutMode(CompositeLayoutMode layoutOptions) {- return baseClassType.getLayoutMode(layoutOptions);+ ObjectOrientedClassLayout getLayoutMode(ObjectOrientedClassLayoutChoice layoutOptions) {+ return baseClassType.getLayout(layoutOptions);}DataTypePath getDataTypePath() {diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/NoSymbolApplier.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/NoSymbolApplier.javaindex 4acb99eaca..f12f6a1178 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/NoSymbolApplier.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/NoSymbolApplier.java@@ -25,7 +25,7 @@ import ghidra.app.util.pdb.pdbapplicator.SymbolGroup.AbstractMsSymbolIterator;*/public class NoSymbolApplier extends MsSymbolApplier {- AbstractMsSymbol symbol;+ private AbstractMsSymbol symbol;/*** Constructordiff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/OoComponentLayoutMode.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/ObjectOrientedClassLayout.javasimilarity index 74%rename from Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/OoComponentLayoutMode.javarename to Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/ObjectOrientedClassLayout.javaindex f75c0c3fb4..9fc06a52af 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/OoComponentLayoutMode.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/ObjectOrientedClassLayout.java@@ -16,8 +16,10 @@package ghidra.app.util.pdb.pdbapplicator;/**- * Mode for {@link CppCompositeType} class layout.+ * Algorithm layout mechanism being used for a particular {@link CppCompositeType}. An initial+ * value gets passed in to the algorithm but can be changed by the algorithm, based on class+ * internal data.*/-enum OoComponentLayoutMode {+enum ObjectOrientedClassLayout {UNKNOWN, MEMBERS_ONLY, BASIC, SIMPLE, COMPLEX}diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CompositeLayoutMode.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/ObjectOrientedClassLayoutChoice.javasimilarity index 51%rename from Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CompositeLayoutMode.javarename to Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/ObjectOrientedClassLayoutChoice.javaindex cfef2c60f9..feea4956c3 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/CompositeLayoutMode.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/ObjectOrientedClassLayoutChoice.java@@ -19,37 +19,38 @@ import java.util.HashMap;import java.util.Map;/**- * PDB Analyzer Options Mode for performing object-oriented structure layout.+ * PDB Analyzer user algorithmic choice for performing object oriented class layout.*/-public enum CompositeLayoutMode {- MEMBERS_ONLY("Legacy", 0, OoComponentLayoutMode.MEMBERS_ONLY),- BASIC_SIMPLE_COMPLEX("Complex with Basic Fallback", 1, OoComponentLayoutMode.BASIC),- SIMPLE_COMPLEX("Complex with Simple Fallback", 2, OoComponentLayoutMode.SIMPLE),- COMPLEX("Complex Always", 3, OoComponentLayoutMode.COMPLEX);+public enum ObjectOrientedClassLayoutChoice {+ MEMBERS_ONLY("Legacy", 0, ObjectOrientedClassLayout.MEMBERS_ONLY),+ BASIC_SIMPLE_COMPLEX("Complex with Basic Fallback", 1, ObjectOrientedClassLayout.BASIC),+ SIMPLE_COMPLEX("Complex with Simple Fallback", 2, ObjectOrientedClassLayout.SIMPLE),+ COMPLEX("Complex Always", 3, ObjectOrientedClassLayout.COMPLEX);- private static final Map<Integer, CompositeLayoutMode> BY_VALUE = new HashMap<>();+ private static final Map<Integer, ObjectOrientedClassLayoutChoice> BY_VALUE = new HashMap<>();static {- for (CompositeLayoutMode val : values()) {+ for (ObjectOrientedClassLayoutChoice val : values()) {BY_VALUE.put(val.value, val);}}private final String label;private final int value;- private OoComponentLayoutMode layoutMode;+ private ObjectOrientedClassLayout classLayout;@Overridepublic String toString() {return label;}- private CompositeLayoutMode(String label, int value, OoComponentLayoutMode layoutMode) {+ private ObjectOrientedClassLayoutChoice(String label, int value,+ ObjectOrientedClassLayout classLayout) {this.label = label;this.value = value;- this.layoutMode = layoutMode;+ this.classLayout = classLayout;}- OoComponentLayoutMode getLayoutMode() {- return layoutMode;+ ObjectOrientedClassLayout getClassLayout() {+ return classLayout;}}diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressManager.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressManager.javaindex c705714710..4453964378 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressManager.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressManager.java@@ -155,7 +155,7 @@ public class PdbAddressManager {*/Address getRemapAddressByAddress(Address address) {if (!Address.NO_ADDRESS.equals(address) &&- applicator.getPdbApplicatorOptions().remapAddressUsingExistingPublicMangledSymbols()) {+ applicator.getPdbApplicatorOptions().remapAddressUsingExistingPublicSymbols()) {return remapAddressByAddress.getOrDefault(address, address);}return address;diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbApplicator.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbApplicator.javaindex e134e972eb..a00fffc254 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbApplicator.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbApplicator.java@@ -1293,7 +1293,7 @@ public class PdbApplicator {if (primarySymbol != null) {if (primarySymbol.getName().startsWith("?") && forceIfMangled &&- applicatorOptions.allowDemotePrimaryMangledSymbol()) {+ applicatorOptions.allowDemotePrimaryMangledSymbols()) {return true;}@@ -1399,7 +1399,7 @@ public class PdbApplicator {if (existingPrimarySymbolInfo != null) {if (existingPrimarySymbolInfo.canBePrimaryForceOverriddenBy(symbolPathString) &&forcePrimaryIfExistingIsMangled &&- applicatorOptions.allowDemotePrimaryMangledSymbol()) {+ applicatorOptions.allowDemotePrimaryMangledSymbols()) {forcePrimary = true;}}diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbApplicatorOptions.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbApplicatorOptions.javaindex f3a650a0c9..44d71d276b 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbApplicatorOptions.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbApplicatorOptions.java@@ -24,24 +24,24 @@ import ghidra.app.util.bin.format.pdb2.pdbreader.AbstractPdb;*/public class PdbApplicatorOptions {- private static final boolean defaultApplyCodeScopeBlockComments = false;- private static final boolean defaultApplyInstructionLabels = false;- private static final boolean defaultApplyDataTypesOnly = false;- private static final boolean defaultApplyPublicSymbolsOnly = false;- private static final boolean defaultRemapAddressesUsingExistingPublicSymbols = false;- private static final boolean defaultAllowDemotePrimaryMangledSymbol = true;+ public static final boolean DEFAULT_APPLY_CODE_SCOPE_BLOCK_COMMENTS = false;+ public static final boolean DEFAULT_APPLY_INSTRUCTION_LABELS = false;+ public static final boolean DEFAULT_APPLY_DATA_TYPES_ONLY = false;+ public static final boolean DEFAULT_APPLY_PUBLIC_SYMBOLS_ONLY = false;+ public static final boolean DEFAULT_REMAP_ADDRESSES_USING_EXISTING_SYMBOLS = false;+ public static final boolean DEFAULT_ALLOW_DEMOTE_PRIMARY_MANGLED_SYMBOLS = true;// TODO: set the following to true if we come up with a reasonably good solution- private static final boolean defaultApplyFunctionVariables = false;+ public static final boolean DEFAULT_APPLY_FUNCTION_VARIABLES = false;- private static final CompositeLayoutMode defaultCompositeLayoutMode =- CompositeLayoutMode.MEMBERS_ONLY;-// private static final CompositeLayoutMode defaultCompositeLayoutMode =-// CompositeLayoutMode.BASIC_SIMPLE_COMPLEX;-// private static final CompositeLayoutMode defaultCompositeLayoutMode =-// CompositeLayoutMode.SIMPLE_COMPLEX;-// private static final CompositeLayoutMode defaultCompositeLayoutMode =-// CompositeLayoutMode.COMPLEX;+ public static final ObjectOrientedClassLayoutChoice DEFAULT_CLASS_LAYOUT_CHOICE =+ ObjectOrientedClassLayoutChoice.MEMBERS_ONLY;+// public static final OjbectOrientedClassLayoutChoice DEFAULT_CLASS_LAYOUT_CHOICE =+// OjbectOrientedClassLayoutChoice.BASIC_SIMPLE_COMPLEX;+// public static final OjbectOrientedClassLayoutChoice DEFAULT_CLASS_LAYOUT_CHOICE =+// OjbectOrientedClassLayoutChoice.SIMPLE_COMPLEX;+// public static final OjbectOrientedClassLayoutChoice DEFAULT_CLASS_LAYOUT_CHOICE =+// OjbectOrientedClassLayoutChoice.COMPLEX;//==============================================================================================private boolean applyCodeScopeBlockComments;@@ -49,11 +49,11 @@ public class PdbApplicatorOptions {private boolean applyDataTypesOnly;private boolean applyPublicSymbolsOnly;private boolean remapAddressesUsingExistingPublicSymbols;- private boolean allowDemotePrimaryMangledSymbol;+ private boolean allowDemotePrimaryMangledSymbols;private boolean applyFunctionVariables; // investigation. might produce bad results.- private CompositeLayoutMode compositeLayoutMode;+ private ObjectOrientedClassLayoutChoice classLayoutChoice;/*** Constructor@@ -66,14 +66,14 @@ public class PdbApplicatorOptions {* Set the options back to their default values*/public void setDefaults() {- applyCodeScopeBlockComments = defaultApplyCodeScopeBlockComments;- applyInstructionLabels = defaultApplyInstructionLabels;- applyDataTypesOnly = defaultApplyDataTypesOnly;- applyPublicSymbolsOnly = defaultApplyPublicSymbolsOnly;- remapAddressesUsingExistingPublicSymbols = defaultRemapAddressesUsingExistingPublicSymbols;- allowDemotePrimaryMangledSymbol = defaultAllowDemotePrimaryMangledSymbol;- applyFunctionVariables = defaultApplyFunctionVariables;- compositeLayoutMode = defaultCompositeLayoutMode;+ applyCodeScopeBlockComments = DEFAULT_APPLY_CODE_SCOPE_BLOCK_COMMENTS;+ applyInstructionLabels = DEFAULT_APPLY_INSTRUCTION_LABELS;+ applyDataTypesOnly = DEFAULT_APPLY_DATA_TYPES_ONLY;+ applyPublicSymbolsOnly = DEFAULT_APPLY_PUBLIC_SYMBOLS_ONLY;+ remapAddressesUsingExistingPublicSymbols = DEFAULT_REMAP_ADDRESSES_USING_EXISTING_SYMBOLS;+ allowDemotePrimaryMangledSymbols = DEFAULT_ALLOW_DEMOTE_PRIMARY_MANGLED_SYMBOLS;+ applyFunctionVariables = DEFAULT_APPLY_FUNCTION_VARIABLES;+ classLayoutChoice = DEFAULT_CLASS_LAYOUT_CHOICE;}/**@@ -146,7 +146,7 @@ public class PdbApplicatorOptions {* (typically public symbols).* @param enable {@code true} to turn remapAddressesUsingExistingPublicSymbols on*/- public void setRemapAddressUsingExistingPublicMangledSymbols(boolean enable) {+ public void setRemapAddressUsingExistingPublicSymbols(boolean enable) {this.remapAddressesUsingExistingPublicSymbols = enable;}@@ -154,7 +154,7 @@ public class PdbApplicatorOptions {* Returns {@code true} if remapAddressesUsingExistingPublicSymbols is "on."* @return {@code true} if remapAddressesUsingExistingPublicSymbols is "on."*/- public boolean remapAddressUsingExistingPublicMangledSymbols() {+ public boolean remapAddressUsingExistingPublicSymbols() {return remapAddressesUsingExistingPublicSymbols;}@@ -163,18 +163,18 @@ public class PdbApplicatorOptions {* primary symbol is a mangled symbol, regardless of the Symbol SourceType. This is* typically used when we can get better data type information from the PDB record than* we can from the demangler.- * @param enable {@code true} to turn allowDemotePrimaryMangledSymbol on+ * @param enable {@code true} to turn allowDemotePrimaryMangledSymbols on*/- public void setAllowDemotePrimaryMangledSymbol(boolean enable) {- this.allowDemotePrimaryMangledSymbol = enable;+ public void setAllowDemotePrimaryMangledSymbols(boolean enable) {+ this.allowDemotePrimaryMangledSymbols = enable;}/**- * Returns {@code true} if allowDemotePrimaryMangledSymbol is "on."- * @return {@code true} if allowDemotePrimaryMangledSymbol is "on."+ * Returns {@code true} if allowDemotePrimaryMangledSymbols is "on."+ * @return {@code true} if allowDemotePrimaryMangledSymbols is "on."*/- public boolean allowDemotePrimaryMangledSymbol() {- return allowDemotePrimaryMangledSymbol;+ public boolean allowDemotePrimaryMangledSymbols() {+ return allowDemotePrimaryMangledSymbols;}/**@@ -195,19 +195,19 @@ public class PdbApplicatorOptions {}/**- * Set the CompositeLayoutMode.- * @param compositeLayoutMode composite layout mode+ * Set the class layout.+ * @param classLayoutChoice composite layout choice*/- public void setCompositeLayoutMode(CompositeLayoutMode compositeLayoutMode) {- this.compositeLayoutMode = compositeLayoutMode;+ public void setClassLayoutChoice(ObjectOrientedClassLayoutChoice classLayoutChoice) {+ this.classLayoutChoice = classLayoutChoice;}/**- * Returns the mode for physically layout out composites.- * @return the layout mode.+ * Returns the choice for physically layout out classes.+ * @return the class layout.*/- public CompositeLayoutMode getCompositeLayoutMode() {- return compositeLayoutMode;+ public ObjectOrientedClassLayoutChoice getClassLayoutChoice() {+ return classLayoutChoice;}}diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbVbtManager.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbVbtManager.javaindex ae8bd95b84..9b15d2d24b 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbVbtManager.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbVbtManager.java@@ -35,8 +35,8 @@ import ghidra.util.task.TaskMonitor;*/public class PdbVbtManager extends VbtManager {- Map<String, Address> addressByMangledName;- Memory memory;+ private Map<String, Address> addressByMangledName;+ private Memory memory;private static Memory getMemory(PdbApplicator applicator) throws PdbException {Program program = applicator.getProgram();diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/TypedefSymbolApplier.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/TypedefSymbolApplier.javaindex 269feb66da..91b79724f6 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/TypedefSymbolApplier.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/TypedefSymbolApplier.java@@ -30,8 +30,8 @@ import ghidra.util.exception.CancelledException;*/public class TypedefSymbolApplier extends MsSymbolApplier {- DataType resolvedDataType = null;- AbstractUserDefinedTypeMsSymbol udtSymbol;+ private DataType resolvedDataType = null;+ private AbstractUserDefinedTypeMsSymbol udtSymbol;/*** Constructordiff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/UdtSourceLineTypeApplier.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/UdtSourceLineTypeApplier.javaindex 420d153bbd..14ef2af0f5 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/UdtSourceLineTypeApplier.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/UdtSourceLineTypeApplier.java@@ -28,17 +28,6 @@ import ghidra.util.exception.CancelledException;*/public class UdtSourceLineTypeApplier extends MsTypeApplier {- private static AbstractMsType validateType(AbstractMsType type)- throws IllegalArgumentException {- if (!(type instanceof UserDefinedTypeSourceAndLineMsType) &&- !(type instanceof UserDefinedTypeModuleSourceAndLineMsType)) {- throw new IllegalArgumentException(- "PDB Incorrectly applying " + type.getClass().getSimpleName() + " to " +- UdtSourceLineTypeApplier.class.getSimpleName());- }- return type;- }-/*** Constructor for base class applier.* @param applicator {@link PdbApplicator} for which this class is working.@@ -109,4 +98,15 @@ public class UdtSourceLineTypeApplier extends MsTypeApplier {}}+ private static AbstractMsType validateType(AbstractMsType type)+ throws IllegalArgumentException {+ if (!(type instanceof UserDefinedTypeSourceAndLineMsType) &&+ !(type instanceof UserDefinedTypeModuleSourceAndLineMsType)) {+ throw new IllegalArgumentException(+ "PDB Incorrectly applying " + type.getClass().getSimpleName() + " to " ++ UdtSourceLineTypeApplier.class.getSimpleName());+ }+ return type;+ }+}diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/VbtManager.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/VbtManager.javaindex 3ba310a56e..4b4d83180d 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/VbtManager.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/VbtManager.java@@ -29,9 +29,9 @@ import ghidra.util.Msg;*/public class VbtManager {- DataTypeManager dtm;- PointerDataType fallbackVbptr;- Map<Address, VirtualBaseTable> vbtByAddress;+ private DataTypeManager dtm;+ private PointerDataType fallbackVbptr;+ protected Map<Address, VirtualBaseTable> vbtByAddress;/*** Virtual Base Table Lookup Managerdiff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/VirtualFunctionTablePointerTypeApplier.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/VirtualFunctionTablePointerTypeApplier.javaindex 7efd71a9d6..c096a6e7b6 100644--- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/VirtualFunctionTablePointerTypeApplier.java+++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/VirtualFunctionTablePointerTypeApplier.java@@ -29,8 +29,6 @@ import ghidra.util.exception.CancelledException;*/public class VirtualFunctionTablePointerTypeApplier extends MsTypeApplier {- DataType vtShape = null;-private static AbstractMsType validateType(AbstractMsType type)throws IllegalArgumentException {if (!(type instanceof AbstractVirtualFunctionTablePointerMsType) &&diff --git a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbByteWriter.java b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbByteWriter.javaindex 0a21f15221..cbb7e39c73 100644--- a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbByteWriter.java+++ b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbByteWriter.java@@ -21,6 +21,7 @@ import java.nio.charset.StandardCharsets;import java.util.Arrays;import ghidra.util.LittleEndianDataConverter;+import ghidra.util.Msg;import ghidra.util.exception.AssertException;/**@@ -250,7 +251,11 @@ public class PdbByteWriter {* @param data4 A byte[8], as fourth constituent piece.*/public void putGUID(int data1, short data2, short data3, byte[] data4) {- assert data4.length == 8;+ if (data4.length != 8) {+ String msg = "GUID invalid byte[] size... terminating";+ Msg.error(null, msg);+ throw new AssertException(msg);+ }putInt(data1);putShort(data2);putShort(data3);diff --git a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfReaderUnitTest.java b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfReaderUnitTest.javaindex ad8a69dda4..79847bd733 100644--- a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfReaderUnitTest.java+++ b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfReaderUnitTest.java@@ -26,6 +26,7 @@ import generic.test.AbstractGenericTest;import ghidra.app.util.bin.format.pdb2.pdbreader.PdbByteWriter;import ghidra.app.util.bin.format.pdb2.pdbreader.PdbReaderOptions;import ghidra.util.Msg;+import ghidra.util.exception.AssertException;import ghidra.util.task.TaskMonitor;public class MsfReaderUnitTest extends AbstractGenericTest {@@ -271,7 +272,11 @@ public class MsfReaderUnitTest extends AbstractGenericTest {}void reservePage(int pageNumber) {- assert freePage[pageNumber];+ if (!freePage[pageNumber]) {+ String msg = "Page already free... terminating";+ Msg.error(null, msg);+ throw new AssertException(msg);+ }freePage[pageNumber] = false;}@@ -303,8 +308,9 @@ public class MsfReaderUnitTest extends AbstractGenericTest {return i;}}- assert false;- return -1;+ String msg = "Unexpected algorithm flow";+ Msg.error(null, msg);+ throw new AssertException(msg);}private byte[] serializedFreePageMap200() {@@ -521,7 +527,11 @@ public class MsfReaderUnitTest extends AbstractGenericTest {else {ds = new DirectoryStream(this);}- assert ds.streamNum == 0;+ if (ds.streamNum != 0) {+ String msg = "Stream 0 expected... terminating";+ Msg.error(null, msg);+ throw new AssertException(msg);+ }header.init();fpm.init();st.init();@@ -549,8 +559,16 @@ public class MsfReaderUnitTest extends AbstractGenericTest {}void fillPages(byte[] inputBuffer, List<Integer> pageList) {- assert outputBuffer != null;- assert pageList.size() > 0;+ if (outputBuffer == null) {+ String msg = "Output buffer is null... terminating";+ Msg.error(null, msg);+ throw new AssertException(msg);+ }+ if (pageList.size() <= 0) {+ String msg = "Invalid page list size... terminating";+ Msg.error(null, msg);+ throw new AssertException(msg);+ }int outputIndex;int inputIndex = 0;for (int i = 0; i < pageList.size() - 1; i++) {diff --git a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/SymbolsTest.java b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/SymbolsTest.javaindex 72743de643..0256333492 100644--- a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/SymbolsTest.java+++ b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/SymbolsTest.java@@ -27,6 +27,7 @@ import ghidra.app.util.bin.format.pdb2.pdbreader.*;import ghidra.app.util.bin.format.pdb2.pdbreader.type.AbstractMsType;import ghidra.app.util.bin.format.pdb2.pdbreader.type.DummyMsType;import ghidra.util.Msg;+import ghidra.util.exception.AssertException;public class SymbolsTest extends AbstractGenericTest {@@ -62,8 +63,9 @@ public class SymbolsTest extends AbstractGenericTest {dummyPdb700.setItemRecord(4096, item);}catch (Exception e) {- Msg.error(null, "Error in initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}}diff --git a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/TypesTest.java b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/TypesTest.javaindex 6deb7a858d..eef52c1238 100644--- a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/TypesTest.java+++ b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/TypesTest.java@@ -26,6 +26,7 @@ import generic.test.AbstractGenericTest;import ghidra.app.util.bin.format.pdb2.pdbreader.*;import ghidra.app.util.bin.format.pdb2.pdbreader.symbol.RegisterMsSymbol;import ghidra.util.Msg;+import ghidra.util.exception.AssertException;//TODO: not sure if ST variety should get putPadding() or putAlign()@@ -99,8 +100,9 @@ public class TypesTest extends AbstractGenericTest {substringListMsType1 = dummyPdb700.addItemRecord(item);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}}diff --git a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/pdb/pdbapplicator/CppCompositeTypeTest.java b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/pdb/pdbapplicator/CppCompositeTypeTest.javaindex 74d8b61922..c30c5c8fdb 100644--- a/Ghidra/Features/PDB/src/test/java/ghidra/app/util/pdb/pdbapplicator/CppCompositeTypeTest.java+++ b/Ghidra/Features/PDB/src/test/java/ghidra/app/util/pdb/pdbapplicator/CppCompositeTypeTest.java@@ -52,7 +52,8 @@ public class CppCompositeTypeTest extends AbstractGenericTest {private static VbtManager vbtManager32;private static VbtManager vbtManager64;// Note: Currently all test have expected results based on up the COMPLEX layout.- private static CompositeLayoutMode layoutOptions = CompositeLayoutMode.COMPLEX;+ private static ObjectOrientedClassLayoutChoice classLayoutChoice =+ ObjectOrientedClassLayoutChoice.COMPLEX;static {BitFieldPackingImpl bitFieldPacking = new BitFieldPackingImpl();@@ -745,14 +746,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}D_struct.addDirectBaseClass(C_struct, 0);D_struct.addMember("d1", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return D_struct;}@@ -773,14 +775,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}D_struct.addDirectBaseClass(C_struct, 0);D_struct.addMember("d1", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return D_struct;}@@ -834,19 +837,20 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}F_struct.addDirectBaseClass(C_struct, 0);F_struct.addDirectBaseClass(E_struct, 4);F_struct.addMember("f1", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return F_struct;}@@ -868,19 +872,20 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}F_struct.addDirectBaseClass(C_struct, 0);F_struct.addDirectBaseClass(E_struct, 4);F_struct.addMember("f1", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return F_struct;}@@ -907,8 +912,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {G_struct.addMember("g1", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return G_struct;}@@ -922,14 +928,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}G_struct.addDirectVirtualBaseClass(C_struct, 0, vbptr32, 1);G_struct.addMember("g1", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return G_struct;}@@ -950,14 +957,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}G_struct.addDirectVirtualBaseClass(C_struct, 0, vbptr64, 1);G_struct.addMember("g1", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return G_struct;}@@ -984,8 +992,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {H_struct.addMember("h1", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return H_struct;}@@ -999,14 +1008,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}H_struct.addDirectVirtualBaseClass(C_struct, 0, vbptr32, 1);H_struct.addMember("h1", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return H_struct;}@@ -1027,14 +1037,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}H_struct.addDirectVirtualBaseClass(C_struct, 0, vbptr64, 1);H_struct.addMember("h1", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return H_struct;}@@ -1065,8 +1076,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {G1_struct.addMember("g11", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return G1_struct;}@@ -1081,19 +1093,20 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}G1_struct.addDirectVirtualBaseClass(C_struct, 0, vbptr32, 1);G1_struct.addDirectVirtualBaseClass(E_struct, 0, vbptr32, 2);G1_struct.addMember("g11", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return G1_struct;}@@ -1115,19 +1128,20 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}G1_struct.addDirectVirtualBaseClass(C_struct, 0, vbptr64, 1);G1_struct.addDirectVirtualBaseClass(E_struct, 0, vbptr64, 2);G1_struct.addMember("g11", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return G1_struct;}@@ -1158,8 +1172,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {H1_struct.addMember("h11", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return H1_struct;}@@ -1174,19 +1189,20 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}H1_struct.addDirectVirtualBaseClass(E_struct, 0, vbptr32, 1);H1_struct.addDirectVirtualBaseClass(C_struct, 0, vbptr32, 2);H1_struct.addMember("h11", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return H1_struct;}@@ -1208,19 +1224,20 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}H1_struct.addDirectVirtualBaseClass(E_struct, 0, vbptr64, 1);H1_struct.addDirectVirtualBaseClass(C_struct, 0, vbptr64, 2);H1_struct.addMember("h11", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return H1_struct;}@@ -1247,8 +1264,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {GG1_struct.addMember("gg11", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG1_struct;}@@ -1262,14 +1280,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (CC1_struct == null) {CC1_struct = createCC1_struct32(vbtManager);- CC1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}GG1_struct.addDirectVirtualBaseClass(CC1_struct, 0, vbptr32, 1);GG1_struct.addMember("gg11", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG1_struct;}@@ -1290,14 +1309,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (CC1_struct == null) {CC1_struct = createCC1_struct64(vbtManager);- CC1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}GG1_struct.addDirectVirtualBaseClass(CC1_struct, 0, vbptr64, 1);GG1_struct.addMember("gg11", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG1_struct;}@@ -1324,8 +1344,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {GG2_struct.addMember("gg21", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG2_struct;}@@ -1339,14 +1360,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (CC2_struct == null) {CC2_struct = createCC2_struct32(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}GG2_struct.addDirectVirtualBaseClass(CC2_struct, 0, vbptr32, 1);GG2_struct.addMember("gg21", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG2_struct;}@@ -1367,14 +1389,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (CC2_struct == null) {CC2_struct = createCC2_struct64(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}GG2_struct.addDirectVirtualBaseClass(CC2_struct, 0, vbptr64, 1);GG2_struct.addMember("gg21", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG2_struct;}@@ -1401,8 +1424,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {GG3_struct.addMember("gg31", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG3_struct;}@@ -1416,14 +1440,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (CC2_struct == null) {CC2_struct = createCC2_struct32(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}GG3_struct.addDirectVirtualBaseClass(CC2_struct, 0, vbptr32, 1);GG3_struct.addMember("gg31", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG3_struct;}@@ -1444,14 +1469,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (CC2_struct == null) {CC2_struct = createCC2_struct64(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}GG3_struct.addDirectVirtualBaseClass(CC2_struct, 0, vbptr64, 1);GG3_struct.addMember("gg31", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG3_struct;}@@ -1472,14 +1498,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (CC3_struct == null) {CC3_struct = createCC3_struct32(vbtManager);- CC3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}GG4_struct.addDirectVirtualBaseClass(CC3_struct, 0, vbptr32, 1);GG4_struct.addMember("gg41", u4, false, 4);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG4_struct;}@@ -1500,14 +1527,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (CC3_struct == null) {CC3_struct = createCC3_struct64(vbtManager);- CC3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}GG4_struct.addDirectVirtualBaseClass(CC3_struct, 0, vbptr64, 1);GG4_struct.addMember("gg41", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return GG4_struct;}@@ -1542,8 +1570,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I_struct.addMember("i1", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I_struct;}@@ -1558,16 +1587,16 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}// Could be problem if only one of G or H is null: won't have same C.if (G_struct == null) {G_struct = createG_struct32(vbtManager, C_struct);- G_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (H_struct == null) {H_struct = createH_struct32(vbtManager, C_struct);- H_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}I_struct.addDirectBaseClass(G_struct, 0);I_struct.addDirectBaseClass(H_struct, 8);@@ -1575,8 +1604,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I_struct.addMember("i1", u4, false, 16);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I_struct;}@@ -1598,16 +1628,16 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}// Could be problem if only one of G or H is null: won't have same C.if (G_struct == null) {G_struct = createG_struct64(vbtManager, C_struct);- G_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (H_struct == null) {H_struct = createH_struct64(vbtManager, C_struct);- H_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}I_struct.addDirectBaseClass(G_struct, 0);I_struct.addDirectBaseClass(H_struct, 16);@@ -1615,8 +1645,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I_struct.addMember("i1", u4, false, 32);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I_struct;}@@ -1638,19 +1669,19 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (G1_struct == null) {G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (H_struct == null) {H_struct = createH_struct32(vbtManager, C_struct);- H_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}I1_struct.addDirectBaseClass(G1_struct, 0);I1_struct.addDirectBaseClass(H_struct, 8);@@ -1659,8 +1690,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I1_struct.addMember("i11", u4, false, 16);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I1_struct;}@@ -1682,19 +1714,19 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (G1_struct == null) {G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (H_struct == null) {H_struct = createH_struct64(vbtManager, C_struct);- H_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}I1_struct.addDirectBaseClass(G1_struct, 0);I1_struct.addDirectBaseClass(H_struct, 16);@@ -1703,8 +1735,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I1_struct.addMember("i11", u4, false, 32);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I1_struct;}@@ -1726,19 +1759,19 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (G_struct == null) {G_struct = createG_struct32(vbtManager, C_struct);- G_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (H1_struct == null) {H1_struct = createH1_struct32(vbtManager, E_struct, C_struct);- H1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}I2_struct.addDirectBaseClass(G_struct, 0);I2_struct.addDirectBaseClass(H1_struct, 8);@@ -1747,8 +1780,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I2_struct.addMember("i21", u4, false, 16);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I2_struct;}@@ -1770,19 +1804,19 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (G_struct == null) {G_struct = createG_struct64(vbtManager, C_struct);- G_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (H1_struct == null) {H1_struct = createH1_struct64(vbtManager, E_struct, C_struct);- H1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}I2_struct.addDirectBaseClass(G_struct, 0);I2_struct.addDirectBaseClass(H1_struct, 16);@@ -1791,8 +1825,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I2_struct.addMember("i21", u4, false, 32);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I2_struct;}@@ -1830,8 +1865,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I3_struct.addMember("i31", u4, false, 0);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I3_struct;}@@ -1846,19 +1882,19 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (G1_struct == null) {G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (H1_struct == null) {H1_struct = createH1_struct32(vbtManager, E_struct, C_struct);- H1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}I3_struct.addDirectBaseClass(G1_struct, 0);I3_struct.addDirectBaseClass(H1_struct, 8);@@ -1867,8 +1903,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I3_struct.addMember("i31", u4, false, 16);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I3_struct;}@@ -1890,19 +1927,19 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (G1_struct == null) {G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (H1_struct == null) {H1_struct = createH1_struct64(vbtManager, E_struct, C_struct);- H1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}I3_struct.addDirectBaseClass(G1_struct, 0);I3_struct.addDirectBaseClass(H1_struct, 16);@@ -1911,8 +1948,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I3_struct.addMember("i31", u4, false, 32);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I3_struct;}@@ -1934,15 +1972,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (G1_struct == null) {G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}I4_struct.addDirectBaseClass(G1_struct, 0);I4_struct.addDirectVirtualBaseClass(E_struct, 0, vbptr32, 2);@@ -1950,8 +1988,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I4_struct.addMember("i41", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I4_struct;}@@ -1973,15 +2012,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (G1_struct == null) {G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}I4_struct.addDirectBaseClass(G1_struct, 0);I4_struct.addDirectVirtualBaseClass(E_struct, 0, vbptr64, 2);@@ -1989,8 +2028,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I4_struct.addMember("i41", u4, false, 16);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I4_struct;}@@ -2012,15 +2052,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (G1_struct == null) {G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}I5_struct.addDirectBaseClass(G1_struct, 0);I5_struct.addIndirectVirtualBaseClass(E_struct, 0, vbptr32, 2); // check this and I4...TODO@@ -2028,8 +2068,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I5_struct.addMember("i51", u4, false, 8);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I5_struct;}@@ -2051,15 +2092,15 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (G1_struct == null) {G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}I5_struct.addDirectBaseClass(G1_struct, 0);I5_struct.addIndirectVirtualBaseClass(E_struct, 0, vbptr64, 2); // check this and I4...TODO@@ -2067,8 +2108,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {I5_struct.addMember("i51", u4, false, 16);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return I5_struct;}@@ -2090,27 +2132,27 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I1_struct == null) {CppCompositeType G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);CppCompositeType H_struct = createH_struct32(vbtManager, C_struct);I1_struct = createI1_struct32(vbtManager, G1_struct, H_struct, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I2_struct == null) {CppCompositeType G_struct = createG_struct32(vbtManager, C_struct);CppCompositeType H1_struct = createH1_struct32(vbtManager, E_struct, C_struct);I2_struct = createI2_struct32(vbtManager, G_struct, H1_struct, C_struct, E_struct);- G_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}J1_struct.addDirectBaseClass(I1_struct, 0);J1_struct.addDirectBaseClass(I2_struct, 20);@@ -2119,8 +2161,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J1_struct.addMember("j11", u4, false, 40);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J1_struct;}@@ -2143,27 +2186,27 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I1_struct == null) {CppCompositeType G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);CppCompositeType H_struct = createH_struct64(vbtManager, C_struct);I1_struct = createI1_struct64(vbtManager, G1_struct, H_struct, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I2_struct == null) {CppCompositeType G_struct = createG_struct64(vbtManager, C_struct);CppCompositeType H1_struct = createH1_struct64(vbtManager, E_struct, C_struct);I2_struct = createI2_struct64(vbtManager, G_struct, H1_struct, C_struct, E_struct);- G_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}J1_struct.addDirectBaseClass(I1_struct, 0);J1_struct.addDirectBaseClass(I2_struct, 40);@@ -2172,8 +2215,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J1_struct.addMember("j11", u4, false, 80);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J1_struct;}@@ -2195,27 +2239,27 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I2_struct == null) {CppCompositeType G_struct = createG_struct32(vbtManager, C_struct);CppCompositeType H1_struct = createH1_struct32(vbtManager, E_struct, C_struct);I2_struct = createI2_struct32(vbtManager, G_struct, H1_struct, C_struct, E_struct);- G_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I1_struct == null) {CppCompositeType G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);CppCompositeType H_struct = createH_struct32(vbtManager, C_struct);I1_struct = createI1_struct32(vbtManager, G1_struct, H_struct, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}J2_struct.addDirectBaseClass(I2_struct, 0);J2_struct.addDirectBaseClass(I1_struct, 20);@@ -2224,8 +2268,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J2_struct.addMember("j21", u4, false, 40);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J2_struct;}@@ -2247,27 +2292,27 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I2_struct == null) {CppCompositeType G_struct = createG_struct64(vbtManager, C_struct);CppCompositeType H1_struct = createH1_struct64(vbtManager, E_struct, C_struct);I2_struct = createI2_struct64(vbtManager, G_struct, H1_struct, C_struct, E_struct);- G_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I1_struct == null) {CppCompositeType G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);CppCompositeType H_struct = createH_struct64(vbtManager, C_struct);I1_struct = createI1_struct64(vbtManager, G1_struct, H_struct, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}J2_struct.addDirectBaseClass(I2_struct, 0);J2_struct.addDirectBaseClass(I1_struct, 40);@@ -2276,8 +2321,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J2_struct.addMember("j21", u4, false, 80);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J2_struct;}@@ -2300,31 +2346,31 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I2_struct == null) {CppCompositeType G_struct = createG_struct32(vbtManager, C_struct);CppCompositeType H1_struct = createH1_struct32(vbtManager, E_struct, C_struct);I2_struct = createI2_struct32(vbtManager, G_struct, H1_struct, C_struct, E_struct);- G_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I1_struct == null) {CppCompositeType G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);CppCompositeType H_struct = createH_struct32(vbtManager, C_struct);I1_struct = createI1_struct32(vbtManager, G1_struct, H_struct, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (A_struct == null) {A_struct = createA_struct32(vbtManager);- A_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}J3_struct.addDirectBaseClass(I2_struct, 0);J3_struct.addDirectBaseClass(I1_struct, 20);@@ -2334,8 +2380,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J3_struct.addMember("j31", u4, false, 48);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J3_struct;}@@ -2358,31 +2405,31 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I2_struct == null) {CppCompositeType G_struct = createG_struct64(vbtManager, C_struct);CppCompositeType H1_struct = createH1_struct64(vbtManager, E_struct, C_struct);I2_struct = createI2_struct64(vbtManager, G_struct, H1_struct, C_struct, E_struct);- G_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I1_struct == null) {CppCompositeType G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);CppCompositeType H_struct = createH_struct64(vbtManager, C_struct);I1_struct = createI1_struct32(vbtManager, G1_struct, H_struct, C_struct, E_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (A_struct == null) {A_struct = createA_struct64(vbtManager);- A_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}J3_struct.addDirectBaseClass(I2_struct, 0);J3_struct.addDirectBaseClass(I1_struct, 40);@@ -2392,8 +2439,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J3_struct.addMember("j31", u4, false, 88);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J3_struct;}@@ -2418,51 +2466,51 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (A_struct == null) {A_struct = createA_struct32(vbtManager);- A_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (CC1_struct == null) {CC1_struct = createCC1_struct32(vbtManager);- CC1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (CC2_struct == null) {CC2_struct = createCC2_struct32(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I3_struct == null) {CppCompositeType G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);CppCompositeType H1_struct = createH1_struct32(vbtManager, E_struct, C_struct);I3_struct = createI3_struct32(vbtManager, G1_struct, H1_struct, E_struct, C_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (GG1_struct == null) {GG1_struct = createGG1_struct32(vbtManager, CC1_struct);- GG1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I_struct == null) {CppCompositeType G_struct = createG_struct32(vbtManager, C_struct);CppCompositeType H_struct = createH_struct32(vbtManager, C_struct);I_struct = createI_struct32(vbtManager, G_struct, H_struct, C_struct);- G_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (GG2_struct == null) {GG2_struct = createGG2_struct32(vbtManager, CC2_struct);- GG2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (GG3_struct == null) {GG3_struct = createGG3_struct32(vbtManager, CC2_struct);- GG3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}J4_struct.addDirectBaseClass(I3_struct, 0);J4_struct.addDirectBaseClass(GG1_struct, 20);@@ -2477,8 +2525,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J4_struct.addMember("j41", u4, false, 56);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J4_struct;}@@ -2503,51 +2552,51 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (A_struct == null) {A_struct = createA_struct64(vbtManager);- A_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (CC1_struct == null) {CC1_struct = createCC1_struct64(vbtManager);- CC1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (CC2_struct == null) {CC2_struct = createCC2_struct64(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I3_struct == null) {CppCompositeType G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);CppCompositeType H1_struct = createH1_struct64(vbtManager, E_struct, C_struct);I3_struct = createI3_struct32(vbtManager, G1_struct, H1_struct, E_struct, C_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (GG1_struct == null) {GG1_struct = createGG1_struct64(vbtManager, CC1_struct);- GG1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I_struct == null) {CppCompositeType G_struct = createG_struct64(vbtManager, C_struct);CppCompositeType H_struct = createH_struct64(vbtManager, C_struct);I_struct = createI_struct32(vbtManager, G_struct, H_struct, C_struct);- G_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (GG2_struct == null) {GG2_struct = createGG2_struct64(vbtManager, CC2_struct);- GG2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (GG3_struct == null) {GG3_struct = createGG3_struct64(vbtManager, CC2_struct);- GG3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}J4_struct.addDirectBaseClass(I3_struct, 0);J4_struct.addDirectBaseClass(GG1_struct, 40);@@ -2562,8 +2611,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J4_struct.addMember("j41", u4, false, 104);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J4_struct;}@@ -2633,8 +2683,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J5_struct.addMember("j51", u4, false, 0); // TODO nned syntactic without index}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J5_struct;}@@ -2659,51 +2710,51 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (A_struct == null) {A_struct = createA_struct32(vbtManager);- A_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct32(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct32(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (CC1_struct == null) {CC1_struct = createCC1_struct32(vbtManager);- CC1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (CC2_struct == null) {CC2_struct = createCC2_struct32(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I3_struct == null) {CppCompositeType G1_struct = createG1_struct32(vbtManager, C_struct, E_struct);CppCompositeType H1_struct = createH1_struct32(vbtManager, E_struct, C_struct);I3_struct = createI3_struct32(vbtManager, G1_struct, H1_struct, E_struct, C_struct);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (GG1_struct == null) {GG1_struct = createGG1_struct32(vbtManager, CC1_struct);- GG1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (I_struct == null) {CppCompositeType G_struct = createG_struct32(vbtManager, C_struct);CppCompositeType H_struct = createH_struct32(vbtManager, C_struct);I_struct = createI_struct32(vbtManager, G_struct, H_struct, C_struct);- G_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);- I_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);+ I_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (GG2_struct == null) {GG2_struct = createGG2_struct32(vbtManager, CC2_struct);- GG2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (GG3_struct == null) {GG3_struct = createGG3_struct32(vbtManager, CC2_struct);- GG3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}J5_struct.addDirectBaseClass(I3_struct, 0);J5_struct.addDirectBaseClass(GG1_struct, 20);@@ -2718,8 +2769,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J5_struct.addMember("j51", u4, false, 56);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J5_struct;}@@ -2744,51 +2796,51 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (A_struct == null) {A_struct = createA_struct64(vbtManager);- A_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (C_struct == null) {C_struct = createC_struct64(vbtManager);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (E_struct == null) {E_struct = createE_struct64(vbtManager);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (CC1_struct == null) {CC1_struct = createCC1_struct64(vbtManager);- CC1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (CC2_struct == null) {CC2_struct = createCC2_struct64(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I3_struct == null) {CppCompositeType G1_struct = createG1_struct64(vbtManager, C_struct, E_struct);CppCompositeType H1_struct = createH1_struct64(vbtManager, E_struct, C_struct);I3_struct = createI3_struct32(vbtManager, G1_struct, H1_struct, E_struct, C_struct);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (GG1_struct == null) {GG1_struct = createGG1_struct32(vbtManager, CC1_struct);- GG1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (I_struct == null) {CppCompositeType G_struct = createG_struct64(vbtManager, C_struct);CppCompositeType H_struct = createH_struct64(vbtManager, C_struct);I_struct = createI_struct32(vbtManager, G_struct, H_struct, C_struct);- G_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- H_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);- I_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);+ I_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (GG2_struct == null) {GG2_struct = createGG2_struct64(vbtManager, CC2_struct);- GG2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (GG3_struct == null) {GG3_struct = createGG3_struct64(vbtManager, CC2_struct);- GG3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}J5_struct.addDirectBaseClass(I3_struct, 0);J5_struct.addDirectBaseClass(GG1_struct, 40);@@ -2803,8 +2855,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J5_struct.addMember("j51", u4, false, 104);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J5_struct;}@@ -2827,23 +2880,23 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (A_struct == null) {A_struct = createA_struct32(vbtManager);- A_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (CC2_struct == null) {CC2_struct = createCC2_struct32(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (CC3_struct == null) {CC3_struct = createCC3_struct32(vbtManager);- CC3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (GG4_struct == null) {GG4_struct = createGG4_struct32(vbtManager, CC3_struct);- GG4_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG4_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}if (GG3_struct == null) {GG3_struct = createGG3_struct32(vbtManager, CC2_struct);- GG3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);}J6_struct.addDirectBaseClass(A_struct, 0);J6_struct.addDirectVirtualBaseClass(GG4_struct, 8, vbptr32, 2);@@ -2853,8 +2906,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J6_struct.addMember("j61", u4, false, 12);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J6_struct;}@@ -2877,23 +2931,23 @@ public class CppCompositeTypeTest extends AbstractGenericTest {try {if (A_struct == null) {A_struct = createA_struct64(vbtManager);- A_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (CC2_struct == null) {CC2_struct = createCC2_struct64(vbtManager);- CC2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (CC3_struct == null) {CC3_struct = createCC3_struct64(vbtManager);- CC3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (GG4_struct == null) {GG4_struct = createGG4_struct64(vbtManager, CC3_struct);- GG4_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG4_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}if (GG3_struct == null) {GG3_struct = createGG3_struct64(vbtManager, CC2_struct);- GG3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);}J6_struct.addDirectBaseClass(A_struct, 0);J6_struct.addDirectVirtualBaseClass(GG4_struct, 8, vbptr64, 2);@@ -2903,8 +2957,9 @@ public class CppCompositeTypeTest extends AbstractGenericTest {J6_struct.addMember("j61", u4, false, 16);}catch (Exception e) {- Msg.error(null, "Error in static initialization of test", e);- assert false;+ String msg = "Error in static initialization of testt: " + e;+ Msg.error(null, msg);+ throw new AssertException(msg);}return J6_struct;}@@ -2930,7 +2985,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testA_32_vbt() throws Exception {CppCompositeType A_struct = createA_struct32(pdbVbtManager32);- A_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = A_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedA_32(), composite, true);}@@ -2938,7 +2993,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testA_32_speculative() throws Exception {CppCompositeType A_struct = createA_struct32(vbtManager32);- A_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = A_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedA_32(), composite, true);}@@ -2986,7 +3041,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testA_64_vbt() throws Exception {CppCompositeType A_struct = createA_struct64(pdbVbtManager64);- A_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = A_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedA_64(), composite, true);}@@ -2994,7 +3049,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testA_64_speculative() throws Exception {CppCompositeType A_struct = createA_struct64(vbtManager64);- A_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ A_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = A_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedA_64(), composite, true);}@@ -3040,7 +3095,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testC_32_vbt() throws Exception {CppCompositeType C_struct = createC_struct32(pdbVbtManager32);- C_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = C_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedC_32(), composite, true);}@@ -3048,7 +3103,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testC_32_speculative() throws Exception {CppCompositeType C_struct = createC_struct32(vbtManager32);- C_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = C_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedC_32(), composite, true);}@@ -3093,7 +3148,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testC_64_vbt() throws Exception {CppCompositeType C_struct = createC_struct64(pdbVbtManager64);- C_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = C_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedC_64(), composite, true);}@@ -3101,7 +3156,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testC_64_speculative() throws Exception {CppCompositeType C_struct = createC_struct64(vbtManager64);- C_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ C_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = C_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedC_64(), composite, true);}@@ -3146,7 +3201,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC1_32_vbt() throws Exception {CppCompositeType CC1_struct = createCC1_struct32(pdbVbtManager32);- CC1_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = CC1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedCC1_32(), composite, true);}@@ -3154,7 +3209,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC1_32_speculative() throws Exception {CppCompositeType CC1_struct = createCC1_struct32(vbtManager32);- CC1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = CC1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedCC1_32(), composite, true);}@@ -3199,7 +3254,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC1_64_vbt() throws Exception {CppCompositeType CC1_struct = createCC1_struct64(pdbVbtManager64);- CC1_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = CC1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedCC1_64(), composite, true);}@@ -3207,7 +3262,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC1_64_speculative() throws Exception {CppCompositeType CC1_struct = createCC1_struct64(vbtManager64);- CC1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = CC1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedCC1_64(), composite, true);}@@ -3252,7 +3307,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC2_32_vbt() throws Exception {CppCompositeType CC2_struct = createCC2_struct32(pdbVbtManager32);- CC2_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = CC2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedCC2_32(), composite, true);}@@ -3260,7 +3315,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC2_32_speculative() throws Exception {CppCompositeType CC2_struct = createCC2_struct32(vbtManager32);- CC2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = CC2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedCC2_32(), composite, true);}@@ -3305,7 +3360,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC2_64_vbt() throws Exception {CppCompositeType CC2_struct = createCC2_struct64(pdbVbtManager64);- CC2_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = CC2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedCC2_64(), composite, true);}@@ -3313,7 +3368,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC2_64_speculative() throws Exception {CppCompositeType CC2_struct = createCC2_struct64(vbtManager64);- CC2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = CC2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedCC2_64(), composite, true);}@@ -3356,7 +3411,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC3_32_vbt() throws Exception {CppCompositeType CC3_struct = createCC3_struct32(pdbVbtManager32);- CC3_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ CC3_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = CC3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedCC3_32(), composite, true);}@@ -3364,7 +3419,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC3_32_speculative() throws Exception {CppCompositeType CC3_struct = createCC3_struct32(vbtManager32);- CC3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ CC3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = CC3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedCC3_32(), composite, true);}@@ -3400,7 +3455,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC3_64_vbt() throws Exception {CppCompositeType CC3_struct = createCC3_struct64(pdbVbtManager64);- CC3_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ CC3_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = CC3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedCC3_64(), composite, true);}@@ -3408,7 +3463,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testCC3_64_speculative() throws Exception {CppCompositeType CC3_struct = createCC3_struct64(vbtManager64);- CC3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ CC3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = CC3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedCC3_64(), composite, true);}@@ -3449,7 +3504,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testD_32_vbt() throws Exception {CppCompositeType D_struct = createD_struct32(pdbVbtManager32);- D_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ D_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = D_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedD_32(), composite, true);}@@ -3457,7 +3512,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testD_32_speculative() throws Exception {CppCompositeType D_struct = createD_struct32(vbtManager32);- D_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ D_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = D_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedD_32(), composite, true);}@@ -3512,7 +3567,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testD_64_vbt() throws Exception {CppCompositeType D_struct = createD_struct64(pdbVbtManager64);- D_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ D_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = D_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedD_64(), composite, true);}@@ -3520,7 +3575,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testD_64_speculative() throws Exception {CppCompositeType D_struct = createD_struct64(vbtManager64);- D_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ D_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = D_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedD_64(), composite, true);}@@ -3572,7 +3627,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testE_32_vbt() throws Exception {CppCompositeType E_struct = createE_struct32(pdbVbtManager32);- E_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = E_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedE_32(), composite, true);}@@ -3580,7 +3635,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testE_32_speculative() throws Exception {CppCompositeType E_struct = createE_struct32(vbtManager32);- E_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = E_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedE_32(), composite, true);}@@ -3625,7 +3680,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testE_64_vbt() throws Exception {CppCompositeType E_struct = createE_struct64(pdbVbtManager64);- E_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = E_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedE_64(), composite, true);}@@ -3633,7 +3688,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testE_64_speculative() throws Exception {CppCompositeType E_struct = createE_struct64(vbtManager64);- E_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ E_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = E_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedE_64(), composite, true);}@@ -3684,7 +3739,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testF_32_vbt() throws Exception {CppCompositeType F_struct = createF_struct32(pdbVbtManager32);- F_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ F_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = F_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedF_32(), composite, true);}@@ -3692,7 +3747,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testF_32_speculative() throws Exception {CppCompositeType F_struct = createF_struct32(vbtManager32);- F_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ F_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = F_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedF_32(), composite, true);}@@ -3757,7 +3812,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testF_64_vbt() throws Exception {CppCompositeType F_struct = createF_struct64(pdbVbtManager64);- F_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ F_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = F_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedF_64(), composite, true);}@@ -3765,7 +3820,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testF_64_speculative() throws Exception {CppCompositeType F_struct = createF_struct64(vbtManager64);- F_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ F_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = F_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedF_64(), composite, true);}@@ -3834,7 +3889,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testG_32_vbt() throws Exception {CppCompositeType G_struct = createG_struct32(pdbVbtManager32);- G_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = G_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedG_32(), composite, true);}@@ -3842,7 +3897,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testG_32_speculative() throws Exception {CppCompositeType G_struct = createG_struct32(vbtManager32);- G_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = G_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedG_32(), composite, true);}@@ -3906,7 +3961,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testG_64_vbt() throws Exception {CppCompositeType G_struct = createG_struct64(pdbVbtManager64);- G_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = G_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedG_64(), composite, true);}@@ -3914,7 +3969,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testG_64_speculative() throws Exception {CppCompositeType G_struct = createG_struct64(vbtManager64);- G_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = G_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedG_64(), composite, true);}@@ -3977,7 +4032,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testH_32_vbt() throws Exception {CppCompositeType H_struct = createH_struct32(pdbVbtManager32);- H_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = H_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedH_32(), composite, true);}@@ -3985,7 +4040,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testH_32_speculative() throws Exception {CppCompositeType H_struct = createH_struct32(vbtManager32);- H_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = H_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedH_32(), composite, true);}@@ -4049,7 +4104,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testH_64_vbt() throws Exception {CppCompositeType H_struct = createH_struct64(pdbVbtManager64);- H_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = H_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedH_64(), composite, true);}@@ -4057,7 +4112,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testH_64_speculative() throws Exception {CppCompositeType H_struct = createH_struct64(vbtManager64);- H_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ H_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = H_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedH_64(), composite, true);}@@ -4125,7 +4180,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testG1_32_vbt() throws Exception {CppCompositeType G1_struct = createG1_struct32(pdbVbtManager32);- G1_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = G1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedG1_32(), composite, true);}@@ -4133,7 +4188,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testG1_32_speculative() throws Exception {CppCompositeType G1_struct = createG1_struct32(vbtManager32);- G1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = G1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedG1_32(), composite, true);}@@ -4209,7 +4264,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testG1_64_vbt() throws Exception {CppCompositeType G1_struct = createG1_struct64(pdbVbtManager64);- G1_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = G1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedG1_64(), composite, true);}@@ -4217,7 +4272,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testG1_64_speculative() throws Exception {CppCompositeType G1_struct = createG1_struct64(vbtManager64);- G1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ G1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = G1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedG1_64(), composite, true);}@@ -4292,7 +4347,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testH1_32_vbt() throws Exception {CppCompositeType H1_struct = createH1_struct32(pdbVbtManager32);- H1_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = H1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedH1_32(), composite, true);}@@ -4300,7 +4355,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testH1_32_speculative() throws Exception {CppCompositeType H1_struct = createH1_struct32(vbtManager32);- H1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = H1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedH1_32(), composite, true);}@@ -4376,7 +4431,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testH1_64_vbt() throws Exception {CppCompositeType H1_struct = createH1_struct64(pdbVbtManager64);- H1_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = H1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedH1_64(), composite, true);}@@ -4384,7 +4439,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testH1_64_speculative() throws Exception {CppCompositeType H1_struct = createH1_struct64(vbtManager64);- H1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ H1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = H1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedH1_64(), composite, true);}@@ -4454,7 +4509,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG1_32_vbt() throws Exception {CppCompositeType GG1_struct = createGG1_struct32(pdbVbtManager32);- GG1_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ GG1_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = GG1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedGG1_32(), composite, true);}@@ -4462,7 +4517,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG1_32_speculative() throws Exception {CppCompositeType GG1_struct = createGG1_struct32(vbtManager32);- GG1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = GG1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedGG1_32(), composite, true);}@@ -4526,7 +4581,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG1_64_vbt() throws Exception {CppCompositeType GG1_struct = createGG1_struct64(pdbVbtManager64);- GG1_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ GG1_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = GG1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedGG1_64(), composite, true);}@@ -4534,7 +4589,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG1_64_speculative() throws Exception {CppCompositeType GG1_struct = createGG1_struct64(vbtManager64);- GG1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = GG1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedGG1_64(), composite, true);}@@ -4597,7 +4652,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG2_32_vbt() throws Exception {CppCompositeType GG2_struct = createGG2_struct32(pdbVbtManager32);- GG2_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ GG2_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = GG2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedGG2_32(), composite, true);}@@ -4605,7 +4660,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG2_32_speculative() throws Exception {CppCompositeType GG2_struct = createGG2_struct32(vbtManager32);- GG2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = GG2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedGG2_32(), composite, true);}@@ -4669,7 +4724,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG2_64_vbt() throws Exception {CppCompositeType GG2_struct = createGG2_struct64(pdbVbtManager64);- GG2_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ GG2_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = GG2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedGG2_64(), composite, true);}@@ -4677,7 +4732,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG2_64_speculative() throws Exception {CppCompositeType GG2_struct = createGG2_struct64(vbtManager64);- GG2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = GG2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedGG2_64(), composite, true);}@@ -4740,7 +4795,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG3_32_vbt() throws Exception {CppCompositeType GG3_struct = createGG3_struct32(pdbVbtManager32);- GG3_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = GG3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedGG3_32(), composite, true);}@@ -4748,7 +4803,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG3_32_speculative() throws Exception {CppCompositeType GG3_struct = createGG3_struct32(vbtManager32);- GG3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = GG3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedGG3_32(), composite, true);}@@ -4812,7 +4867,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG3_64_vbt() throws Exception {CppCompositeType GG3_struct = createGG3_struct64(pdbVbtManager64);- GG3_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = GG3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedGG3_64(), composite, true);}@@ -4820,7 +4875,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG3_64_speculative() throws Exception {CppCompositeType GG3_struct = createGG3_struct64(vbtManager64);- GG3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = GG3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedGG3_64(), composite, true);}@@ -4886,7 +4941,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG4_32_vbt() throws Exception {CppCompositeType GG4_struct = createGG4_struct32(pdbVbtManager32);- GG4_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ GG4_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = GG4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedGG4_32(), composite, true);}@@ -4894,7 +4949,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG4_32_speculative() throws Exception {CppCompositeType GG4_struct = createGG4_struct32(vbtManager32);- GG4_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ GG4_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = GG4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedGG4_32(), composite, true);}@@ -4954,7 +5009,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG4_64_vbt() throws Exception {CppCompositeType GG4_struct = createGG4_struct64(pdbVbtManager64);- GG4_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ GG4_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = GG4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedGG4_64(), composite, true);}@@ -4962,7 +5017,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testGG4_64_speculative() throws Exception {CppCompositeType GG4_struct = createGG4_struct64(vbtManager64);- GG4_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ GG4_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = GG4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedGG4_64(), composite, true);}@@ -5030,7 +5085,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI_32_vbt() throws Exception {CppCompositeType I_struct = createI_struct32(pdbVbtManager32);- I_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ I_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = I_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI_32(), composite, true);}@@ -5038,7 +5093,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI_32_speculative() throws Exception {CppCompositeType I_struct = createI_struct32(vbtManager32);- I_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ I_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = I_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI_32(), composite, true);}@@ -5132,7 +5187,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI_64_vbt() throws Exception {CppCompositeType I_struct = createI_struct64(pdbVbtManager64);- I_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ I_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = I_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI_64(), composite, true);}@@ -5140,7 +5195,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI_64_speculative() throws Exception {CppCompositeType I_struct = createI_struct64(vbtManager64);- I_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ I_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = I_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI_64(), composite, true);}@@ -5234,7 +5289,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI1_32_vbt() throws Exception {CppCompositeType I1_struct = createI1_struct32(pdbVbtManager32);- I1_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = I1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI1_32(), composite, true);}@@ -5242,7 +5297,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI1_32_speculative() throws Exception {CppCompositeType I1_struct = createI1_struct32(vbtManager32);- I1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = I1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI1_32(), composite, true);}@@ -5347,7 +5402,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI1_64_vbt() throws Exception {CppCompositeType I1_struct = createI1_struct64(pdbVbtManager64);- I1_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = I1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI1_64(), composite, true);}@@ -5355,7 +5410,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI1_64_speculative() throws Exception {CppCompositeType I1_struct = createI1_struct64(vbtManager64);- I1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ I1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = I1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI1_64(), composite, true);}@@ -5457,7 +5512,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI2_32_vbt() throws Exception {CppCompositeType I2_struct = createI2_struct32(pdbVbtManager32);- I2_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = I2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI2_32(), composite, true);}@@ -5465,7 +5520,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI2_32_speculative() throws Exception {CppCompositeType I2_struct = createI2_struct32(vbtManager32);- I2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = I2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI2_32(), composite, true);}@@ -5571,7 +5626,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI2_64_vbt() throws Exception {CppCompositeType I2_struct = createI2_struct64(pdbVbtManager64);- I2_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = I2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI2_64(), composite, true);}@@ -5579,7 +5634,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI2_64_speculative() throws Exception {CppCompositeType I2_struct = createI2_struct64(vbtManager64);- I2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ I2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = I2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI2_64(), composite, true);}@@ -5681,7 +5736,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI3_32_vbt() throws Exception {CppCompositeType I3_struct = createI3_struct32(pdbVbtManager32);- I3_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ I3_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = I3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI3_32(), composite, true);}@@ -5689,7 +5744,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI3_32_speculative() throws Exception {CppCompositeType I3_struct = createI3_struct32(vbtManager32);- I3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ I3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = I3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI3_32(), composite, true);}@@ -5794,7 +5849,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI3_64_vbt() throws Exception {CppCompositeType I3_struct = createI3_struct64(pdbVbtManager64);- I3_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ I3_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = I3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI3_64(), composite, true);}@@ -5802,7 +5857,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI3_64_speculative() throws Exception {CppCompositeType I3_struct = createI3_struct64(vbtManager64);- I3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ I3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = I3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI3_64(), composite, true);}@@ -5895,7 +5950,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI4_32_vbt() throws Exception {CppCompositeType I4_struct = createI4_struct32(pdbVbtManager32);- I4_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ I4_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = I4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI4_32(), composite, true);}@@ -5903,7 +5958,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI4_32_speculative() throws Exception {CppCompositeType I4_struct = createI4_struct32(vbtManager32);- I4_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ I4_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = I4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI4_32(), composite, true);}@@ -5990,7 +6045,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI4_64_vbt() throws Exception {CppCompositeType I4_struct = createI4_struct64(pdbVbtManager64);- I4_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ I4_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = I4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI4_64(), composite, true);}@@ -5998,7 +6053,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI4_64_speculative() throws Exception {CppCompositeType I4_struct = createI4_struct64(vbtManager64);- I4_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ I4_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = I4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI4_64(), composite, true);}@@ -6083,7 +6138,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI5_32_vbt() throws Exception {CppCompositeType I5_struct = createI5_struct32(pdbVbtManager32);- I5_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ I5_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = I5_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedtI5_32(), composite, true);}@@ -6091,7 +6146,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI5_32_speculative() throws Exception {CppCompositeType I5_struct = createI5_struct32(vbtManager32);- I5_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ I5_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = I5_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedtI5_32(), composite, true);}@@ -6220,7 +6275,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI5_64_vbt() throws Exception {CppCompositeType I5_struct = createI5_struct64(pdbVbtManager64);- I5_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ I5_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = I5_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedI5_64(), composite, true);}@@ -6228,7 +6283,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testI5_64_speculative() throws Exception {CppCompositeType I5_struct = createI5_struct64(vbtManager64);- I5_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ I5_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = I5_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedI5_64(), composite, true);}@@ -6387,7 +6442,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ1_32_vbt() throws Exception {CppCompositeType J1_struct = createJ1_struct32(pdbVbtManager32);- J1_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ J1_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = J1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ1_32(), composite, true);}@@ -6395,7 +6450,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ1_32_speculative() throws Exception {CppCompositeType J1_struct = createJ1_struct32(vbtManager32);- J1_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ J1_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = J1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ1_32(), composite, true);}@@ -6559,7 +6614,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ1_64_vbt() throws Exception {CppCompositeType J1_struct = createJ1_struct64(pdbVbtManager64);- J1_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ J1_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = J1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ1_64(), composite, true);}@@ -6567,7 +6622,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ1_64_speculative() throws Exception {CppCompositeType J1_struct = createJ1_struct64(vbtManager64);- J1_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ J1_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = J1_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ1_64(), composite, true);}@@ -6722,7 +6777,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ2_32_vbt() throws Exception {CppCompositeType J2_struct = createJ2_struct32(pdbVbtManager32);- J2_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ J2_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = J2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ2_32(), composite, true);}@@ -6730,7 +6785,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ2_32_speculative() throws Exception {CppCompositeType J2_struct = createJ2_struct32(vbtManager32);- J2_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ J2_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = J2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ2_32(), composite, true);}@@ -6894,7 +6949,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ2_64_vbt() throws Exception {CppCompositeType J2_struct = createJ2_struct64(pdbVbtManager64);- J2_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ J2_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = J2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ2_64(), composite, true);}@@ -6902,7 +6957,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ2_64_speculative() throws Exception {CppCompositeType J2_struct = createJ2_struct64(vbtManager64);- J2_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ J2_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = J2_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ2_64(), composite, true);}@@ -7062,7 +7117,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ3_32_vbt() throws Exception {CppCompositeType J3_struct = createJ3_struct32(pdbVbtManager32);- J3_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ J3_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = J3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ3_32(), composite, true);}@@ -7070,7 +7125,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ3_32_speculative() throws Exception {CppCompositeType J3_struct = createJ3_struct32(vbtManager32);- J3_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ J3_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = J3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ3_32(), composite, true);}@@ -7247,7 +7302,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ3_64_vbt() throws Exception {CppCompositeType J3_struct = createJ3_struct64(pdbVbtManager64);- J3_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ J3_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = J3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ3_64(), composite, true);}@@ -7255,7 +7310,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ3_64_speculative() throws Exception {CppCompositeType J3_struct = createJ3_struct64(vbtManager64);- J3_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ J3_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = J3_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ3_64(), composite, true);}@@ -7460,7 +7515,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ4_32_vbt() throws Exception {CppCompositeType J4_struct = createJ4_struct32(pdbVbtManager32);- J4_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ J4_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = J4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ4_32(), composite, true);}@@ -7468,7 +7523,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ4_32_speculative() throws Exception {CppCompositeType J4_struct = createJ4_struct32(vbtManager32);- J4_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ J4_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = J4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ4_32(), composite, true);}@@ -7727,7 +7782,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ4_64_vbt() throws Exception {CppCompositeType J4_struct = createJ4_struct64(pdbVbtManager64);- J4_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ J4_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = J4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ4_64(), composite, true);}@@ -7735,7 +7790,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ4_64_speculative() throws Exception {CppCompositeType J4_struct = createJ4_struct64(vbtManager64);- J4_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ J4_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = J4_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ4_64(), composite, true);}@@ -7978,7 +8033,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ5_32_vbt() throws Exception {CppCompositeType J5_struct = createJ5_struct32(pdbVbtManager32);- J5_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ J5_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = J5_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ5_32(), composite, true);}@@ -7988,7 +8043,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {// @Testpublic void testJ5_32_speculative() throws Exception {CppCompositeType J5_struct = createJ5_struct32(vbtManager32);- J5_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ J5_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = J5_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ5_32(), composite, true);}@@ -8253,7 +8308,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ5_64_vbt() throws Exception {CppCompositeType J5_struct = createJ5_struct64(pdbVbtManager64);- J5_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ J5_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = J5_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ5_64(), composite, true);}@@ -8263,7 +8318,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {// @Testpublic void testJ5_64_speculative() throws Exception {CppCompositeType J5_struct = createJ5_struct64(vbtManager64);- J5_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ J5_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = J5_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ5_64(), composite, true);}@@ -8458,7 +8513,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ6_32_vbt() throws Exception {CppCompositeType J6_struct = createJ6_struct32(pdbVbtManager32);- J6_struct.createLayout(layoutOptions, pdbVbtManager32, TaskMonitor.DUMMY);+ J6_struct.createLayout(classLayoutChoice, pdbVbtManager32, TaskMonitor.DUMMY);Composite composite = J6_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ6_32(), composite, true);}@@ -8468,7 +8523,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {// @Testpublic void testJ6_32_speculative() throws Exception {CppCompositeType J6_struct = createJ6_struct32(vbtManager32);- J6_struct.createLayout(layoutOptions, vbtManager32, TaskMonitor.DUMMY);+ J6_struct.createLayout(classLayoutChoice, vbtManager32, TaskMonitor.DUMMY);Composite composite = J6_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ6_32(), composite, true);}@@ -8594,7 +8649,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {@Testpublic void testJ6_64_vbt() throws Exception {CppCompositeType J6_struct = createJ6_struct64(pdbVbtManager64);- J6_struct.createLayout(layoutOptions, pdbVbtManager64, TaskMonitor.DUMMY);+ J6_struct.createLayout(classLayoutChoice, pdbVbtManager64, TaskMonitor.DUMMY);Composite composite = J6_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getExpectedJ6_64(), composite, true);}@@ -8604,7 +8659,7 @@ public class CppCompositeTypeTest extends AbstractGenericTest {// @Testpublic void testJ6_64_speculative() throws Exception {CppCompositeType J6_struct = createJ6_struct64(vbtManager64);- J6_struct.createLayout(layoutOptions, vbtManager64, TaskMonitor.DUMMY);+ J6_struct.createLayout(classLayoutChoice, vbtManager64, TaskMonitor.DUMMY);Composite composite = J6_struct.getComposite();CompositeTestUtils.assertExpectedComposite(this, getSpeculatedJ6_64(), composite, true);}