Patch implements 'extern' version script tag.
Currently only values in quotes(") are supported.
Matching of externs is performed in the same pass as exact match of globals.
Differential D21930
[ELF] - Implement extern "c++" version script tag grimar on Jul 1 2016, 9:26 AM. Authored by
Details
Patch implements 'extern' version script tag. Matching of externs is performed in the same pass as exact match of globals.
Diff Detail
Event TimelineComment Actions The new code seems to be a copy of the existing code with a small change to demangle symbols. Can you make it smaller?
Comment Actions
This one is needed, otherwise a symbol f would be demangled to float. We want only mangled symbol names (which start with _Z), not types etc.
Comment Actions What I was trying to say is that the code did not look very straightforward. I think you have no choice other than demangle all symbols if "extern" directive is used, so why don't you create a map from demangled names to symbolbodies?
Comment Actions
Comment Actions
Comment Actions I had to revert this. I have no idea why it failed because I specified XFAIL: win32 in testcase, so it was expected fails, though bot errors out. Has the same error message. I guess it does not have HAVE_CXXABI_H. So I am goint to rework the testcase and recommit later. Though I am curious why windows bot reports error when XFAIL is set ? |