I’m keenly interested in this command-line option
The reason I want to use it is in order to emit longer memset/memcpy in
But the example code described in that patch enables the flag by passing a command-line option to
llc < %s -march=bpfel -bpf-expand-memcpy-in-order
bpftrace we use C++ to create an LLVM Module via the Compiler API, and emit IR programmatically.
Given that we don’t invoke
llc, but rather invoke LLVM via its C++ APIs: is there any way for us to pass command-line options such as
I note that the LLVM Command Line docs mention a difference between external/internal storage for command-line options. Could it be that there’s no external-facing way to set this option?
Thanks for any assistance you can give!