added llvm/link module

This commit is contained in:
Sven Vogel 2024-06-04 15:28:41 +02:00
parent 4ac0ee79d1
commit e893dd327b
2 changed files with 25 additions and 0 deletions

6
src/llvm/link/lld.c Normal file
View File

@ -0,0 +1,6 @@
//
// Created by servostar on 6/4/24.
//
#include <llvm/link/lld.h>

19
src/llvm/link/lld.h Normal file
View File

@ -0,0 +1,19 @@
//
// Created by servostar on 6/4/24.
//
#ifndef LLVM_BACKEND_LLD_H
#define LLVM_BACKEND_LLD_H
#include <codegen/backend.h>
#include <llvm/backend.h>
/**
* @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