[llvm-dev] Requesting licensing advice on ARM SVE headers
Omair Javaid via llvm-dev
llvm-dev at lists.llvm.org
Tue Apr 21 04:30:25 PDT 2020
I am working to implement ARM SVE register access support in LLDB for Linux
based operating systems.
In order to access SVE registers via ptrace Linux provides macros
These macros are pulled into aarch64-linux-gnu/include/asm/ptrace.h if we
have aarch64-linux-gnu cross compiler installed on ubuntu 18.04. In cases
where these headers are not available we have to manually include them into
our code. Just like gdb has done here:
My patch posted here: https://reviews.llvm.org/D77047 also makes use of
similar strategy by including these macros in LLDB
My question is about licensing issues around including this piece of patch
into llvm mono repo. These macros are provided by linux kernel for the use
of its client applications and are included when LLDB is compiled with
#include <ptrace.h>. Only change we have here is that we are shipping this
code as part of LLDB in case linux headers on a particular system do not
yet support these macos.
Please provide your opinion on licensing validity of this code.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev