cregit-Linux how code gets into the kernel

Release 4.14 tools/perf/util/c++/clang.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef PERF_UTIL_CLANG_H

#define PERF_UTIL_CLANG_H

#include "llvm/ADT/StringRef.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Option/Option.h"
#include <memory>

namespace perf {

using namespace llvm;

std::unique_ptr<Module>
getModuleFromSource(opt::ArgStringList CFlags,
		    StringRef Name, StringRef Content);

std::unique_ptr<Module>
getModuleFromSource(opt::ArgStringList CFlags,
		    StringRef Path);

std::unique_ptr<llvm::SmallVectorImpl<char>>
getBPFObjectFromModule(llvm::Module *Module);

}
#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Wang Nan7898.73%480.00%
Greg Kroah-Hartman11.27%120.00%
Total79100.00%5100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.