[PATCH] D23254: CodeView: extract the OMF Directory Header

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 8 07:58:25 PDT 2016


Is this information described in the Microsoft github repository anywhere?
On Sun, Aug 7, 2016 at 11:50 PM David Majnemer <david.majnemer at gmail.com>
wrote:

> majnemer added a subscriber: majnemer.
>
> ================
> Comment at: lib/DebugInfo/CodeView/CVDebugRecord.cpp:14-21
> @@ +13,10 @@
> +
> +const support::ulittle32_t OMF::Signature::PDB70Signature =
> +    support::ulittle32_t(0x53445352); // RSDS
> +const support::ulittle32_t OMF::Signature::PDB20Signature =
> +    support::ulittle32_t(0x3031424e); // NB10
> +const support::ulittle32_t OMF::Signature::CV50Signature =
> +    support::ulittle32_t(0x3131424e); // NB11
> +const support::ulittle32_t OMF::Signature::CV41Signature =
> +    support::ulittle32_t(0x3930424e); // NB09
> +
> ----------------
> This is pretty irregular, we usually have the constant have a normal
> type.  I would expect this to be an enum.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D23254
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160808/c5151a10/attachment.html>


More information about the llvm-commits mailing list