search for: lammich

Displaying 2 results from an estimated 2 matches for "lammich".

2019 Apr 12
3
Generating C headers from LLVM
Hi List, is there any way to generate proper C header files for functions that are defined in LLVM-IR. My current attempts fail when clang does some fancy transformations (to adhere to some ABIs ??), e.g., for returning a struct. For example the declaration typedef struct {int64_t a; int64_t b;int64_t c;} test; test create_test(void);yields the LLVM code %struct.test = type { i64, i64, i64 }
2019 Apr 12
2
Generating C headers from LLVM
...er people looked into your problem before* but I haven't seen anybody that trying to upstream the functionality yet. * I could look for references. [1] http://llvm.org/OpenProjects.html#header-generation On 04/12, Michael Spencer via llvm-dev wrote: > On Fri, Apr 12, 2019 at 3:53 AM Peter Lammich via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > Hi List, > > > > is there any way to generate proper C header files for functions that > > are defined in LLVM-IR. My current attempts fail when clang does some > > fancy transformations (to adhere...