Home | Search | wasm - Builders

Builder linux Build 4021 Canonical Ubuntu


Failure annotated steps
Failure Sync Repos


Revision 2932b32f4e4f8056236f7cc3b6b8929e576e2149


Steps and Logs

  1. ( 6 ms ) setup_build

    running recipe: “wasm_llvm”

  2. ( 5 secs ) bot_update

    [21GB/290GB used (7%)]

  3. ( 2 mins 29 secs ) annotated steps
  4. ( 2 mins 44 secs ) Sync Repos
  5. ( 0 ) Failure reason


Create Friday, 15-Mar-19 04:41:57 UTC
Start Friday, 15-Mar-19 04:42:07 UTC
End Friday, 15-Mar-19 04:45:52 UTC
Pending 9 secs
Execution 3 mins 45 secs


buildset commit/git/2932b32f4e4f8056236f7cc3b6b8929e576e2149
buildset commit/gitiles/llvm.googlesource.com/llvm/+/2932b32f4e4f8056236f7cc3b6b8929e576e2149
scheduler_invocation_id 9084378552272335760
scheduler_job_id wasm/linux
user_agent luci-scheduler

Input Properties

$recipe_engine/runtime { "is_experimental": false, "is_luci": true }
branch "refs/heads/master"
buildername "linux"
buildnumber 4021
mastername "client.wasm.llvm"
repository "https://llvm.googlesource.com/llvm"
revision "2932b32f4e4f8056236f7cc3b6b8929e576e2149"

Output Properties

$recipe_engine/path { "cache_dir": "/b/swarming/w/ir/cache", "temp_dir": "/b/swarming/w/ir/tmp/rt" }
$recipe_engine/runtime { "is_experimental": false, "is_luci": true }
bot_id "swarm2467-c4"
branch "refs/heads/master"
buildername "linux"
buildnumber 4021
got_revision "04600b4f26bdd5534788d437d0f82a5a47d97deb"
got_waterfall_revision "5fd6d5d2b27876f331efbda4b9ca5fc6294185ef"
mastername "client.wasm.llvm"
path_config "generic"
recipe "wasm_llvm"
repository "https://llvm.googlesource.com/llvm"
revision "2932b32f4e4f8056236f7cc3b6b8929e576e2149"

All Changes

  1. [BPF] do not generate unused local/global types

    Changed by Yonghong Song - yhsohnoyoudont@fb.com
    Changed at Friday, 15-Mar-19 04:42:01 UTC
    Repository https://llvm.googlesource.com/llvm
    Revision 2932b32f4e4f8056236f7cc3b6b8929e576e2149


    [BPF] do not generate unused local/global types
    The kernel currently has a limit for # of types to be 64KB and
    the size of string subsection to be 64KB. A simple bcc tool
    runqlat.py generates:
      . the size of ~33KB type section, roughly ~10K types
      . the size of ~17KB string section
    The majority type is from the types referenced by local
    variables in the bpf program. For example, the kernel "task_struct"
    itself recursively brings in ~900 other types.
    This patch did the following optimization to avoid generating
    unused types:
      . do not generate types for local variables unless they are
        function arguments.
      . do not generate types for external globals.
    If an external global is not used in the program, llvm
    already removes it from IR, so global variable saving is
    typical small. For runqlat.py, only one variable "llvm.used"
    is the external global.
    The types for locals and external globals can be added back
    once there is a usage for them.
    After the above optimization, the runqlat.py generates:
      . the size of ~1.5KB type section, roughtly 500 types
      . the size of ~0.7KB string section
    Signed-off-by: Yonghong Song <yhs@fb.com>
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356232 91177308-0d34-0410-b5e6-96231b3b80d8

    Changed files

    • lib/Target/BPF/BTFDebug.cpp
    • test/CodeGen/BPF/BTF/extern-global-var.ll
    • test/CodeGen/BPF/BTF/local-var.ll
    • test/CodeGen/BPF/BTF/static-var.ll