[llvm] Move a lot of symbol code to use the symbol string pool (PR #115796)
Jared Wyles via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 16:18:40 PST 2024
================
@@ -165,6 +165,16 @@ Section::~Section() {
B->~Block();
}
+LinkGraph::~LinkGraph() {
+ for (auto *Sym : AbsoluteSymbols) {
+ Sym->~Symbol();
+ }
+ for (auto *Sym : external_symbols()) {
+ Sym->~Symbol();
+ }
+ ExternalSymbols.clear();
----------------
jaredwy wrote:
It was needed for something... but can't remember what. Ill leave it in with a fixme for now.
https://github.com/llvm/llvm-project/pull/115796
More information about the llvm-commits
mailing list