| Index: src/IceELFObjectWriter.cpp
|
| diff --git a/src/IceELFObjectWriter.cpp b/src/IceELFObjectWriter.cpp
|
| index 4a31a99b8e365029199346b91af0a093423e2819..7eebfa9ee0627b2b2c5845c6b116592330a7c802 100644
|
| --- a/src/IceELFObjectWriter.cpp
|
| +++ b/src/IceELFObjectWriter.cpp
|
| @@ -325,7 +325,7 @@ template <typename ConstType> void ELFObjectWriter::writeConstantPool(Type Ty) {
|
| auto Const = llvm::cast<ConstType>(C);
|
| std::string SymBuffer;
|
| llvm::raw_string_ostream SymStrBuf(SymBuffer);
|
| - SymStrBuf << ".L$" << Ty << "$" << Const->getPoolEntryID();
|
| + Const->emitPoolLabel(SymStrBuf);
|
| std::string &SymName = SymStrBuf.str();
|
| SymTab->createDefinedSym(SymName, STT_NOTYPE, STB_LOCAL, Section,
|
| OffsetInSection, SymbolSize);
|
|
|