• Yonghong Song's avatar
    fix bcc build failure with latest llvm/clang trunk · 331ab236
    Yonghong Song authored
    The clang commit
      commit 247be3e41c41201641af01888ff0d84484c4e0f4
      Author: Simon Pilgrim <llvm-dev@redking.me.uk>
      Date:   Fri Oct 12 19:14:43 2018 +0000
    
        Fix a clang::driver::ArgStringList usage I missed in rL344398. NFCI.
    removed
      using ArgStringList = llvm::opt::ArgStringList;
    in clang:include/clang/Driver/Job.h,
    and makes bcc compilation failure.
    
    Using llvm::opt::ArgStringList fixed the issue and should
    still work with previous llvm versions.
    Signed-off-by: default avatarYonghong Song <yhs@fb.com>
    331ab236
loader.cc 14.9 KB