rnk added inline comments.
================
Comment at: src/AddressSpace.hpp:388-389
+ found_obj = true;
+ } else if (!strncmp((const char *)pish->Name, ".eh_frame",
+ IMAGE_SIZEOF_SHORT_NAME)) {
+ info.dwarf_section = begin;
----------------
mstorsjo wrote:
> rnk wrote:
> > ".eh_frame" is 9 characters, right? I thought mingw linkers took sections
> > with long names and moved them to an extended symbol table. Does that not
> > apply to .eh_frame?
> Yes, they do, so this actually only matches `.eh_fram`. I didn't yet look at
> how to navigate the IMAGE_*_HEADERS structs to find the coresponding full
> long name.
Can you add a FIXME here? No need to read the long-form symbol table yet, I
just want to document that we will need that for compatibility with ld.bfd.
https://reviews.llvm.org/D38679
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits