<div dir="ltr"><div><br></div>Hi All,<div><br><div>The first patch adds support for ref_addr.</div></div><div>Most of it is from r176882, but instead of always using an integer for ref_addr, we use label + offset for relocation on non-darwin platforms.</div>
<div><br></div><div>The second patch is a modified version of r191792.</div><div>The main change is to use a single map instead of 3 maps in DwarfDebug and instead of calling DwarfDebug::getDIE|insertDIE directly, we delegate the function calls to DwarfDebug from CompileUnit.</div>
<div><br></div><div>No testing case is added in the 1st patch, since the compiler does not use ref_addr yet.</div><div><br></div><div>For the 2nd patch, testing cases are updated to make sure we remove duplicated DIEs and use ref_addr to refer to the type DIE. A testing case is also added to make sure we generate a relocation entry for ref_addr on linux platform.</div>
<div><br></div><div>Thanks,</div><div>Manman</div><div><br></div><div><br></div></div>