Skip to content
Snippets Groups Projects
  1. May 05, 2020
  2. May 03, 2020
  3. Apr 28, 2020
  4. Apr 23, 2020
  5. Apr 21, 2020
  6. Apr 20, 2020
    • Yonghong Song's avatar
      fix llvm 11 compilation issues · 45e63f2b
      Yonghong Song authored
      The llvm CreateCall used in bcc is deprecated in llvm 11:
        https://reviews.llvm.org/D76269
      The llvm CreateMemCpy is changed in llvm 11 as well:
        https://reviews.llvm.org/D71473
      
      This caused bcc compilation error.
      
        /home/yhs/work/bcc/src/cc/frontends/b/codegen_llvm.cc: In member function
           ‘ebpf::StatusTuple ebpf::cc::CodegenLLVM::emit_log(ebpf::cc::Method CallExprNode*)’:
        /home/yhs/work/bcc/src/cc/frontends/b/codegen_llvm.cc:691:39: error: no matching function for call to
           ‘llvm::IRBuilder<>::CreateCall(llvm::Value*&, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&)’
           expr_ = B.CreateCall(printk_fn, args);
                                             ^
        ...
      
        /home/yhs/work/bcc/src/cc/frontends/b/codegen_llvm.cc: In member function
           ‘virtual ebpf::StatusTuple ebpf::cc::CodegenLLVM::visit_string_exp_node(ebpf::cc::StringExprNode*)’:
        /home/yhs/work/bcc/src/cc/frontends/b/codegen_llvm.cc:440:55: error: no matching function for call to
           ‘llvm::IRBuilder<>::CreateMemCpy(llvm:Value*&, int, llvm::Value*&, int, std::__cxx11::basic_string<char>::size_type)’
         B.CreateMemCpy(ptr, 1, global, 1, n->val_.size() + 1);
                                                             ^
        ...
      
      This patch fixed the compilation issue.
      45e63f2b
    • Itay Shakury's avatar
      Improve ubuntu installation description · d3359b29
      Itay Shakury authored
      d3359b29
  7. Apr 19, 2020
  8. Apr 17, 2020
  9. Apr 07, 2020
  10. Apr 06, 2020
  11. Apr 04, 2020
  12. Mar 29, 2020
  13. Mar 28, 2020
Loading