[llvm] [MC] Add MCFragment allocation helpers (PR #95197)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 01:00:34 PDT 2024


https://github.com/aengelke commented:

Ok, but what about the other places with `new MCXXXFragment`? MCPseudoProbe, MCELFStreamer and MCMachOStreamer have a few insert(new Fragment) calls, which could be trivially replaced by allocAndAdd.

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


More information about the llvm-commits mailing list