Commit 51d50691 authored by Vicent Marti's avatar Vicent Marti

bpf.lua: Enable the `--llvm-debug` CLI flag

parent 48269823
......@@ -118,7 +118,7 @@ function Bpf:initialize(args)
local cflags = table.join(Bpf.DEFAULT_CFLAGS, args.cflags)
local cflags_ary = ffi.new("const char *[?]", #cflags, cflags)
local llvm_debug = args.debug or 0
local llvm_debug = rawget(_G, "LIBBCC_LLVM_DEBUG") or args.debug or 0
assert(type(llvm_debug) == "number")
if args.text then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment