Approach uses LLVM-style RTTI for representing the linker script
commands in a form of tree for future simplification of parsing.
Core idea and code sample belongs to Rui Ueyama.
Differential D22604
[ELF] - Initial support of tree-style linker script implemented. ClosedPublic Authored by grimar on Jul 20 2016, 4:50 PM.
Details Summary Approach uses LLVM-style RTTI for representing the linker script Core idea and code sample belongs to Rui Ueyama.
Diff Detail Event Timelinegrimar retitled this revision from to [ELF] - Initial support of tree-style linker script implemented.. grimar updated this object. Comment Actions
This revision is now accepted and ready to land.Jul 20 2016, 6:33 PM Comment Actions LGTM with this change.
Eugene.Zelenko added inline comments. Closed by commit rL276243: [ELF] - Initial support of tree-style linker script implemented. (authored by grimar). · Explain WhyJul 20 2016, 11:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 64795 ELF/LinkerScript.h
ELF/LinkerScript.cpp
|
I think you need to define a virtual destructor because you are destructing derived classes instances through base class pointers.