[gprofng] Parsing of function definitions fails
Thomas Gruber
Thomas.Gruber@fau.de
Mon Mar 21 16:17:31 GMT 2022
Hi,
A colleague of mine reported problems when specifying C++ functions in
gp-display-text:
# the function 'csr_spmv_kernel<double, int>' exists
(gp-display-text) fsingle csr_spmv_kernel<double, int>
Error: Invalid number entered: int>
Error: Invalid number entered: int>
Error: No function with given name `csr_spmv_kernel<double,' found.
(gp-display-text) fsingle csr_spmv_kernel<double,int>
Error: No function with given name `csr_spmv_kernel<double,int>' found.
So, spaces in the template parameter list seem to be bad. Moreover, '*'
in the function parameter list seem to be not parsed properly:
(gp-display-text) source csr_spmv_kernel<double,int>(long,long,int
const*,int const*,double const*,double const*,double*)
Warning: extra arguments to source command, line 2
Error: Invalid number entered: const*,int
Error: Invalid number entered: const*,int
Error: No function or file with given name
`csr_spmv_kernel<double,int>(long,long,int' found.
Best,
Thomas
--
Thomas Gruber
Software & Tools
Erlangen National High Performance Computing Center (NHR@FAU)
Friedrich-Alexander University Erlangen-Nürnberg
Martensstraße 1, 91058 Erlangen, Germany
mailto:Thomas.Gruber@fau.de
https://hpc.fau.de/
More information about the Binutils
mailing list