Displaying 1 result from an estimated 1 matches for "a_28_b".
2013 Aug 22
0
[LLVMdev] Mangler does not check for duplicate symbols?
The current implementation of llvm::Mangler does not check if a symbol name
exists before mangling. This can cause problems if the mangled name
aliases another symbol in the IR. For example, consider the following:
@"a(b" = addrspace(1) global float 1.0
@"a_28_b" = addrspace(1) global float 1.0
If I run this through the x86 backend, I get:
llc: /scratch/jholewinski/llvm/src/llvm/lib/MC/MCAsmStreamer.cpp:351:
virtual void <anonymous namespace>::MCAsmStreamer::EmitLabel(llvm::MCSymbol
*): Assertion `Symbol->isUndefined() && "Can...