[llvm-commits] [PATCH] Object File Library

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 15 18:36:14 PST 2010


> I'm not sure if it makes sense to make MCObjectWriter fully format
> independent due to the different semantics of the different formats.
> It would also require a major change to the code generators to handle
> GOT/PLT. However, there's no reason it can't use the object
> serialization API for the individual formats.

That was my idea. There is enough difference is the file formats to
have one MCObjectWriter for each, so just use the bits that the object
library provides for that format.

> - Michael Spencer

Cheers,
Rafael



More information about the llvm-commits mailing list