[llvm] [WebAssembly] Allocate MCSymbolWasm data on MCContext. (PR #85866)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 17:44:42 PDT 2024


================
@@ -850,6 +861,15 @@ class MCContext {
 
   void deallocate(void *Ptr) {}
 
+  /// Allocates the given string on the allocator managed by this context and
----------------
dschuff wrote:

```suggestion
  /// Allocates a copy of the given string on the allocator managed by this context and
```

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


More information about the llvm-commits mailing list