First page Back Continue Last page Overview Graphics
Performance: Linking
More C++ code:
- class VInherit : public VParent {
- virtual void AVirtualMethod();
- };
Interesting C++ features:
- VParent::AVirtualMethod() chaining
- vtable construction: scad of symbol lookups
Symbol interposing – LD_PRELOAD etc.
- ld's -Bsymbolic might help ?
- Scads of weak symbols: typeid, dynamic_cast, throw
- gcc 3.x: address not string comparisons:
- no internal ahead-of-time resolution possible ...
Link maps ? - can't work; XP issues, maintain