All uses of getNames is read access to the list of names, so we can just return ArrayRef<std::string>. There is no need to make a copy as we prepare a return value. --------- Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
These define the main data structures to represent stable functions and group similar functions in a function map. Serialization is supported in a binary or yaml form. Depends on #112638. This is a patch for https://discourse.llvm.org/t/rfc-global-function-merging/82608.