[PATCH] D101401: [XCOFF] Handle the case when personality routine is an alias
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 28 14:22:07 PDT 2021
hubert.reinterpretcast added inline comments.
================
Comment at: llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp:2125
- const Function *Per =
- dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts());
+ GlobalValue *Per =
+ dyn_cast<GlobalValue>(F.getPersonalityFn()->stripPointerCasts());
----------------
Why remove the `const`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101401/new/
https://reviews.llvm.org/D101401
More information about the llvm-commits
mailing list