Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tetragon: Switch to clang-14 #397

Merged
merged 4 commits into from
Nov 7, 2022
Merged

tetragon: Switch to clang-14 #397

merged 4 commits into from
Nov 7, 2022

Commits on Nov 4, 2022

  1. tetragon: Switch to clang-14 in Dockerfile.clang

    Switching to clang-14 in Dockerfile.clang, the new
    version is 14.0.0-1ubuntu1.
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    8aa6b17 View commit details
    Browse the repository at this point in the history
  2. tetragon: Force dwarf version 4 for bpf objects

    The clang  14 seems to use dwarf 5 by default and TestStructAlignments
    can't read it properly and fails.
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    c168cae View commit details
    Browse the repository at this point in the history
  3. tetragon: Do not unroll loop in prepend_path for large programs

    Clang tries to unroll the prepend_path which ends up in really big
    code which does not pass verifier. Making sure it's always unrolled
    for __LARGE_BPF_PROG programs.
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    fa91834 View commit details
    Browse the repository at this point in the history
  4. tetragon: Use clang 14 image

    Switching to clang 14.
    
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    3a8e3a6 View commit details
    Browse the repository at this point in the history