Home | Search | wasm - Builders
Login

Builder linux Build 4021 Canonical Ubuntu

Overview

Failure
Failure annotated steps
Failure Sync Repos

Input

Revision 2932b32f4e4f8056236f7cc3b6b8929e576e2149

Infra

Steps and Logs

Show:
  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

Timing

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

Tags

KeyValue
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

NameValue
$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

NameValue
$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
    Branch
    Revision 2932b32f4e4f8056236f7cc3b6b8929e576e2149

    Comments

    [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