MachO writer test cases

Is anyone using the MachO Writer ?

If so do you have any test cases as I am moving it over to use the prototype direct object emission code and I need test cases to verify it working correctly.

Many thanks in advance,

Aaron

I doubt anyone is using it, as it is not complete.

Nate,

Right, okay. I was also planning on looking at what the assembly output generates and “emulating” its output.

So I should be able to use the ‘test/CodeGen/PowerPC’ tests once I have augmented the MachO Writer PowerPC output.

Does this seem like the right and sensible approach ?

Aaron

Nate,

Right, okay. I was also planning on looking at what the assembly output generates and “emulating” its output.

Sure. I was using the source for ‘as’ and ‘ld’ as my guide when I was working on it.

So I should be able to use the ‘test/CodeGen/PowerPC’ tests once I have augmented the MachO Writer PowerPC output.

Sounds good.

Nate

Nate, thanks for verifying things.

Aaron