| Index: src/IceTargetLowering.cpp
|
| diff --git a/src/IceTargetLowering.cpp b/src/IceTargetLowering.cpp
|
| index 8dd918e2c128828f38afd986ed80fbaa4c54d81d..b41bc696bc9edac2fd9fa4d8666a3afabb1580e9 100644
|
| --- a/src/IceTargetLowering.cpp
|
| +++ b/src/IceTargetLowering.cpp
|
| @@ -704,6 +704,13 @@ void TargetLowering::emitWithoutPrefix(const ConstantRelocatable *C,
|
| if (!BuildDefs::dump())
|
| return;
|
| Ostream &Str = Ctx->getStrEmit();
|
| + const IceString &EmitStr = C->getEmitString();
|
| + if (!EmitStr.empty()) {
|
| + // C has a custom emit string, so we use it instead of the canonical
|
| + // Name + Offset form.
|
| + Str << EmitStr;
|
| + return;
|
| + }
|
| if (C->getSuppressMangling())
|
| Str << C->getName();
|
| else
|
|
|