Home | Search | wasm - Builders

Builder linux Build 4023 Canonical Ubuntu


Failure annotated steps
Failure Sync Repos


Revision 6bc58e6d3dbd6950962f2b30169dadc5b2eb3b8e


Steps and Logs

  1. ( 6 ms ) setup_build

    running recipe: “wasm_llvm”

  2. ( 5 secs ) bot_update

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

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


Create Friday, 15-Mar-19 05:51:05 UTC
Start Friday, 15-Mar-19 05:51:20 UTC
End Friday, 15-Mar-19 05:55:15 UTC
Pending 14 secs
Execution 3 mins 54 secs


buildset commit/git/6bc58e6d3dbd6950962f2b30169dadc5b2eb3b8e
buildset commit/gitiles/llvm.googlesource.com/llvm/+/6bc58e6d3dbd6950962f2b30169dadc5b2eb3b8e
scheduler_invocation_id 9084374202634672848
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 4023
mastername "client.wasm.llvm"
repository "https://llvm.googlesource.com/llvm"
revision "6bc58e6d3dbd6950962f2b30169dadc5b2eb3b8e"

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 "swarm2469-c4"
branch "refs/heads/master"
buildername "linux"
buildnumber 4023
got_revision "04600b4f26bdd5534788d437d0f82a5a47d97deb"
got_waterfall_revision "5fd6d5d2b27876f331efbda4b9ca5fc6294185ef"
mastername "client.wasm.llvm"
path_config "generic"
recipe "wasm_llvm"
repository "https://llvm.googlesource.com/llvm"
revision "6bc58e6d3dbd6950962f2b30169dadc5b2eb3b8e"

All Changes

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

    Changed by Yonghong Song - yhsohnoyoudont@fb.com
    Changed at Friday, 15-Mar-19 05:51:25 UTC
    Repository https://llvm.googlesource.com/llvm
    Revision 6bc58e6d3dbd6950962f2b30169dadc5b2eb3b8e


    [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
      resubmitted the patch after previous revert with
      the following fix:
      use Global.hasExternalLinkage() to test "external"
      linkage instead of using Global.getInitializer(),
      which will assert on external variables.
    Signed-off-by: Yonghong Song <yhs@fb.com>
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356234 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