[all-commits] [llvm/llvm-project] 166cdc: [BPF] generate BTF_KIND_VARs for all non-static gl...

yonghong-song via All-commits all-commits at lists.llvm.org
Tue Nov 12 14:35:52 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 166cdc02818fd7a6653f76216b4f64cb4b21619e
      https://github.com/llvm/llvm-project/commit/166cdc02818fd7a6653f76216b4f64cb4b21619e
  Author: Yonghong Song <yhs at fb.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M llvm/lib/Target/BPF/BTF.h
    M llvm/lib/Target/BPF/BTFDebug.cpp
    M llvm/test/CodeGen/BPF/BTF/global-var-inited.ll

  Log Message:
  -----------
  [BPF] generate BTF_KIND_VARs for all non-static globals

Enable to generate BTF_KIND_VARs for non-static
default-section globals which is not allowed previously.
Modified the existing test case to accommodate the new change.

Also removed unused linkage enum members VAR_GLOBAL_TENTATIVE and
VAR_GLOBAL_EXTERNAL.

Differential Revision: https://reviews.llvm.org/D70145




More information about the All-commits mailing list