[llvm-dev] A "Cross-Platform Runtime Library API" in LLVM IR
Matthias Braun via llvm-dev
llvm-dev at lists.llvm.org
Sun May 22 12:06:30 PDT 2016
> On May 22, 2016, at 10:31 AM, Lorenzo Laneve via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> My idea is an API where anyone can build a Runtime Library for any backend, including a set of functions people can inline/rename creating functions the frontend can include in the IR.
> For example implementing a cross-platform runtime function that allocates memory for a new object. (Obviously the library will have to be compiled for each target).
Memory allocation is usually considered part of libc. There are several libc implementations that target multiple architectures. musl, glibc, newlib, diet libc to name just a few.
More information about the llvm-dev