Displaying 3 results from an estimated 3 matches for "_llvminitializefootargetmc".
2015 Mar 14
2
[LLVMdev] Add a backend
Yes, llvm::InitializeAllTargetMCs(void) does seem to be autogenerated. It
is _LLVMInitializeFooTargetMC that I can't find documented anywhere.
On Sat, Mar 14, 2015 at 12:05 AM, Anton Korobeynikov <
anton at korobeynikov.info> wrote:
> This function is autogenerated. You need also to change top-level
> configure / cmake files.
>
> On Sat, Mar 14, 2015 at 8:38 AM, Daniel Dilts &...
2015 Mar 14
2
[LLVMdev] Add a backend
...ze the whole MC
> infrastructure.
>
> See e.g. lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
>
> On Sat, Mar 14, 2015 at 10:11 AM, Daniel Dilts <diltsman at gmail.com> wrote:
> > Yes, llvm::InitializeAllTargetMCs(void) does seem to be autogenerated.
> It
> > is _LLVMInitializeFooTargetMC that I can't find documented anywhere.
> >
> > On Sat, Mar 14, 2015 at 12:05 AM, Anton Korobeynikov
> > <anton at korobeynikov.info> wrote:
> >>
> >> This function is autogenerated. You need also to change top-level
> >> configure / cmake files...
2015 Mar 14
2
[LLVMdev] Add a backend
...xample), added Foo to the subdirectories list in
llvm\lib\Target\LLVMBuild.txt and to LLVM_ALL_TARGETS in
llvm\CMakeLists.txt. I removed the files except for FooTargetMachine.cpp
and FooTargetMachine.h.
FooTargetMachine is not completed yet, but I was trying to compile and get
linker errors about _LLVMInitializeFooTargetMC referenced in function void
llvm::InitializeAllTargetMCs(void). I do not see anything about how to
implement this function.
Is there additional documentation about how to implement a backend that I
am missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <htt...