search for: isincurrentdso

Displaying 1 result from an estimated 1 matches for "isincurrentdso".

2017 Oct 14
2
Reducing confusion around isUndefined()
...e types of symbols that are easily confused: undefined, shared and lazy. I just finished auditing the uses of isUndefined, and most were incorrect. The most common issue was that the code intended to check if the symbol will be undefined on the final symbol table. The actual predicate for that is isInCurrentDSO(). In some other cases the intention was to check if we had a definition already, in which case the code should check also for lazy symbols too. We don't currently have a predicate for isUndefined() || isLazy(). Some ideas to try to make this less error prone. * Add a isNotDefined() predicat...