diff options
author | Cupertino Miranda <cupertino.miranda@oracle.com> | 2024-01-30 19:01:12 +0000 |
---|---|---|
committer | Cupertino Miranda <cupertino.miranda@oracle.com> | 2024-02-28 19:20:20 +0000 |
commit | 0198cade5ac15c35ed3f5af54060d7bc6a39f326 (patch) | |
tree | 8cc5af8a2aaeeb623dcfc332767524e9d5b33819 /gcc/function.h | |
parent | 95f012ef4a72eb50f05ad909fa10655f4cb8cbd3 (diff) | |
download | gcc-0198cade5ac15c35ed3f5af54060d7bc6a39f326.zip gcc-0198cade5ac15c35ed3f5af54060d7bc6a39f326.tar.gz gcc-0198cade5ac15c35ed3f5af54060d7bc6a39f326.tar.bz2 |
btf: fix type id in BTF_KIND_FUNC struct data.
This patch corrects the addition of +1 on the type id, which originally
was done in the wrong location and led to func_dtd->dtd_type for
BTF_KIND_FUNC struct data to contain the type id of the previous entry.
gcc/ChangeLog:
* btfout.cc (btf_collect_dataset): Corrects BTF type id.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions