================
@@ -202,10 +202,12 @@ class _LIBUNWIND_HIDDEN LocalAddressSpace {
pint_t getEncodedP(pint_t &addr, pint_t end, uint8_t encoding,
pint_t datarelBase = 0, pint_t *resultAddr = nullptr);
- bool findFunctionName(pint_t addr, char *buf, size_t bufLen,
+ template <typename T>
----------------
kovdan01 wrote:
@atrosinenko Thanks for suggestions! I decided to pass the registers struct
type as a template parameter and use a newly defined `R::link_reg_arg_t` type
alias which is basically `const R::link_reg_t&`. I've also added comments near
all the function declarations using this and near this type alias itself.
https://github.com/llvm/llvm-project/pull/173765
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits