• Brenden Blanco's avatar
    Fixes for LLVM 4.0 and python3 · 2d862046
    Brenden Blanco authored
    Avoid conflicting [no]inline attributes in function annotation. This was
    probably always there but now 4.0 is treating this as an error.
    Also, explicitly inline several functions in helpers.h.
    
    Turn off unwind tables in the flags passed to clang. This was generating
    calls to the elf relocator, which doesn't work for the BPF target. It is
    unclear which change in LLVM 4.0 altered this behavior.
    
    On python3, handle byte strings in the usual way for supporting
    backwards compatibility.
    Signed-off-by: default avatarBrenden Blanco <bblanco@gmail.com>
    2d862046
execsnoop.py 6.54 KB