Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
drzaeus77 committed Jan 5, 2017
2 parents fc673a9 + 53da672 commit 437ab7f
Show file tree
Hide file tree
Showing 6 changed files with 716 additions and 463 deletions.
3 changes: 2 additions & 1 deletion src/cc/bpf_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,8 @@ int BPFModule::load_includes(const string &text) {

int BPFModule::annotate() {
for (auto fn = mod_->getFunctionList().begin(); fn != mod_->getFunctionList().end(); ++fn)
fn->addFnAttr(Attribute::AlwaysInline);
if (!fn->hasFnAttribute(Attribute::NoInline))
fn->addFnAttr(Attribute::AlwaysInline);

// separate module to hold the reader functions
auto m = make_unique<Module>("sscanf", *ctx_);
Expand Down
Loading

0 comments on commit 437ab7f

Please sign in to comment.