| Index: src/IceOperand.cpp
|
| diff --git a/src/IceOperand.cpp b/src/IceOperand.cpp
|
| index 3285e6d78a06b97614d71769ce5d3fdd21c992ec..98e8f6f1f9e5978bd9435663f14b463ca36d930e 100644
|
| --- a/src/IceOperand.cpp
|
| +++ b/src/IceOperand.cpp
|
| @@ -460,8 +460,13 @@ void ConstantRelocatable::emit(GlobalContext *Ctx) const {
|
| }
|
| }
|
|
|
| -void ConstantRelocatable::dump(const Cfg *, Ostream &Str) const {
|
| - Str << "@" << Name;
|
| +void ConstantRelocatable::dump(const Cfg *Func, Ostream &Str) const {
|
| + Str << "@";
|
| + if (Func && !SuppressMangling) {
|
| + Str << Func->getContext()->mangleName(Name);
|
| + } else {
|
| + Str << Name;
|
| + }
|
| if (Offset)
|
| Str << "+" << Offset;
|
| }
|
|
|