diff --git a/src/llvm/link/lld.c b/src/llvm/link/lld.c new file mode 100644 index 0000000..5622b22 --- /dev/null +++ b/src/llvm/link/lld.c @@ -0,0 +1,6 @@ +// +// Created by servostar on 6/4/24. +// + +#include + diff --git a/src/llvm/link/lld.h b/src/llvm/link/lld.h new file mode 100644 index 0000000..1916c3b --- /dev/null +++ b/src/llvm/link/lld.h @@ -0,0 +1,19 @@ +// +// Created by servostar on 6/4/24. +// + +#ifndef LLVM_BACKEND_LLD_H +#define LLVM_BACKEND_LLD_H + +#include +#include + +/** + * @brief Link the target by its configuration to the final output. + * @param target + * @param config + * @return + */ +BackendError link_target(const Target* target, const TargetConfig* config); + +#endif // LLVM_BACKEND_LLD_H