| Index: src/IceOperand.cpp
|
| diff --git a/src/IceOperand.cpp b/src/IceOperand.cpp
|
| index 4b55737952668c79c9170a4a0f0622bde283d126..e1faf0fa668cbfa2f404b12a08101c2e9e2c509b 100644
|
| --- a/src/IceOperand.cpp
|
| +++ b/src/IceOperand.cpp
|
| @@ -470,7 +470,7 @@ void Variable::dump(const Cfg *Func, Ostream &Str) const {
|
| }
|
| }
|
|
|
| -void ConstantRelocatable::emit(GlobalContext *Ctx) const {
|
| +void ConstantRelocatable::emitWithoutDollar(GlobalContext *Ctx) const {
|
| Ostream &Str = Ctx->getStrEmit();
|
| if (SuppressMangling)
|
| Str << Name;
|
| @@ -483,6 +483,12 @@ void ConstantRelocatable::emit(GlobalContext *Ctx) const {
|
| }
|
| }
|
|
|
| +void ConstantRelocatable::emit(GlobalContext *Ctx) const {
|
| + Ostream &Str = Ctx->getStrEmit();
|
| + Str << "$";
|
| + emitWithoutDollar(Ctx);
|
| +}
|
| +
|
| void ConstantRelocatable::dump(const Cfg *Func, Ostream &Str) const {
|
| Str << "@";
|
| if (Func && !SuppressMangling) {
|
|
|