| Index: src/IceMangling.cpp
|
| diff --git a/src/IceMangling.cpp b/src/IceMangling.cpp
|
| index 28275c15631172a9456cac7c2f35add7d8867cfe..fe46bb1a181ed4560b2c955464c2e5e271b95333 100644
|
| --- a/src/IceMangling.cpp
|
| +++ b/src/IceMangling.cpp
|
| @@ -126,10 +126,10 @@ std::string mangleName(const std::string &Name) {
|
| // _Z3barxyz ==> ZN6Prefix3barExyz
|
| // An unmangled, extern "C" style name, gets a simple prefix:
|
| // bar ==> Prefixbar
|
| - if (!BuildDefs::dump() || GlobalContext::getFlags().getTestPrefix().empty())
|
| + if (!BuildDefs::dump() || getFlags().getTestPrefix().empty())
|
| return Name;
|
|
|
| - const std::string TestPrefix = GlobalContext::getFlags().getTestPrefix();
|
| + const std::string TestPrefix = getFlags().getTestPrefix();
|
| unsigned PrefixLength = TestPrefix.length();
|
| ManglerVector NameBase(1 + Name.length());
|
| const size_t BufLen = 30 + Name.length() + PrefixLength;
|
|
|