[llvm] Move a lot of symbol code to use the symbol string pool (PR #115796)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 22:14:56 PST 2024


================
@@ -283,7 +285,7 @@ Expected<std::unique_ptr<BinaryContext>> BinaryContext::createBinaryContext(
 
   auto BC = std::make_unique<BinaryContext>(
       std::move(Ctx), std::move(DwCtx), std::make_unique<Triple>(TheTriple),
-      TheTarget, std::string(TripleName), std::move(MCE), std::move(MOFI),
+      SSP, TheTarget, std::string(TripleName), std::move(MCE), std::move(MOFI),
----------------
lhames wrote:

```c++
std::move(SSP)
```
More copy elimination.

https://github.com/llvm/llvm-project/pull/115796


More information about the llvm-commits mailing list