diff options
| author | Itay Bookstein <ibookstein@gmail.com> | 2021-10-06 19:33:10 -0700 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2021-10-06 19:33:10 -0700 |
| commit | 40ec1c0f16cb23f8b83fb3d28b195e83991defd9 (patch) | |
| tree | 93fc4170ffa4d3014a61217cc4871d6ed6844583 /llvm/tools/bugpoint/CrashDebugger.cpp | |
| parent | 6707a7d7e96ac23ba66f16bdb44927082d2fd4d3 (diff) | |
[IR][NFC] Rename getBaseObject to getAliaseeObject
To better reflect the meaning of the now-disambiguated {GlobalValue,
GlobalAlias}::getBaseObject after breaking off GlobalIFunc::getResolverFunction
(D109792), the function is renamed to getAliaseeObject.
Diffstat (limited to 'llvm/tools/bugpoint/CrashDebugger.cpp')
| -rw-r--r-- | llvm/tools/bugpoint/CrashDebugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp index 8e4de3522036..5a4528e9fa86 100644 --- a/llvm/tools/bugpoint/CrashDebugger.cpp +++ b/llvm/tools/bugpoint/CrashDebugger.cpp @@ -269,7 +269,7 @@ bool ReduceCrashingFunctions::TestFuncs(std::vector<Function *> &Funcs) { std::vector<GlobalValue *> ToRemove; // First, remove aliases to functions we're about to purge. for (GlobalAlias &Alias : M->aliases()) { - GlobalObject *Root = Alias.getBaseObject(); + GlobalObject *Root = Alias.getAliaseeObject(); Function *F = dyn_cast_or_null<Function>(Root); if (F) { if (Functions.count(F)) |
