[llvm] [win][arm64ec] Handle empty function names (PR #151609)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 10:20:05 PDT 2025
================
@@ -46,7 +47,7 @@ class DSOLocalEquivalent;
class LLVM_ABI TargetLoweringObjectFile : public MCObjectFileInfo {
/// Name-mangler for global names.
- Mangler *Mang = nullptr;
+ std::unique_ptr<Mangler> Mang = std::make_unique<Mangler>();
----------------
efriedma-quic wrote:
Right, you can't name an unnamed function from any other translation unit, so as long as the name is consistent within the translation unit, you won't have any issues.
https://github.com/llvm/llvm-project/pull/151609
More information about the llvm-commits
mailing list