search for: refnamebuilder

Displaying 2 results from an estimated 2 matches for "refnamebuilder".

2014 Feb 04
3
[LLVMdev] [lld] Allow atoms with empty name in the RefNameBuilder::buildDuplicateNameMap()
Hi, Method RefNameBuilder::buildDuplicateNameMap() has an assert which blocks atoms with empty name. In general it looks reasonable but some toolchains (for example Sourcery CodeBench in both MIPS and ARM editions) can generate an object file contains absolute STT_FILE symbols with empty name. Moreover crt1.o object file fr...
2014 Feb 05
2
[LLVMdev] [lld] Allow atoms with empty name in the RefNameBuilder::buildDuplicateNameMap()
...er" symbol. If think it's enough to do not call buildDuplicateNameMap() if the absolute atom has no name. I suggest to fix that in the code and write a test covers this case. -- Simon On Wed, Feb 5, 2014 at 5:06 AM, Nick Kledzik <kledzik at apple.com> wrote: > The point of the RefNameBuilder is to create unique names for atoms > that need them. For instance, if you have two files each with a static > function named "foo" and you merge the .o files together and dump > that as yaml, then when some other function has a reference to "foo" > the yaml would b...