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

Fixes for LLVM4+, python3 #957

Merged
merged 7 commits into from
Feb 9, 2017
Merged

Fixes for LLVM4+, python3 #957

merged 7 commits into from
Feb 9, 2017

Commits on Feb 9, 2017

  1. Mark additional helper function as inline

    Signed-off-by: Brenden Blanco <[email protected]>
    drzaeus77 committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    fddd69a View commit details
    Browse the repository at this point in the history
  2. Explicitly mark b functions as nounwind

    Without marking as nounwind, recent llvm started generating .eh_frame
    section, which is invalid for bpf target jit.
    
    Signed-off-by: Brenden Blanco <[email protected]>
    drzaeus77 committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    9c8c969 View commit details
    Browse the repository at this point in the history
  3. Use builtin clang::CompilerInvocation object

    Recent llvm changed the calling convention of setInvocation, breaking
    3.9/4.0 compatibility. This new approach works for both.
    
    Signed-off-by: Brenden Blanco <[email protected]>
    drzaeus77 committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    1e93ccf View commit details
    Browse the repository at this point in the history
  4. Style fixes for loader.cc

    Diff generated by clang-format
    
    Signed-off-by: Brenden Blanco <[email protected]>
    drzaeus77 committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    7f1c3b2 View commit details
    Browse the repository at this point in the history
  5. Fix for test_log_buf to work with python3

    In python3, output needs to be converted from ascii to str before the
    "error_msg in str" test will succeed. This change should be backwards
    compatible with python2.
    
    Signed-off-by: Brenden Blanco <[email protected]>
    drzaeus77 committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    bc93238 View commit details
    Browse the repository at this point in the history
  6. python3 compat: add missing str->bytes conversion

    Signed-off-by: Brenden Blanco <[email protected]>
    drzaeus77 committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    341ec67 View commit details
    Browse the repository at this point in the history
  7. python3 compat: tracepoint fixes

    Signed-off-by: Brenden Blanco <[email protected]>
    drzaeus77 committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    dacb8ad View commit details
    Browse the repository at this point in the history