1. Jan 08, 2023
    • Eduard Zingerman's avatar
      [BPF] generate btf_decl_tag records for params of extern functions · f60aefdc
      Eduard Zingerman authored
      After frontend changes in the following commit:
      "BPF: preserve btf_decl_tag for parameters of extern functions"
      same mechanics could be used to get the list of function parameters
      and associated btf_decl_tag entries for both extern and non-extern
      functions.
      
      This commit extracts this mechanics as a separate auxiliary function
      BTFDebug::processDISubprogram(). The function is called for both
      extern and non-extern functions in order to generated corresponding
      BTF_DECL_TAG records.
      
      Differential Revision: https://reviews.llvm.org/D140971
      f60aefdc
  2. Jan 07, 2023