[LLVMdev] X86AsmPrinter + MASM and NASM backends

Aaron Gray angray at beeb.net
Thu Jun 30 14:32:26 PDT 2005


Some wheird problem, Target/X86 builds okay now.

But there seems to be another problem with the Cygwin build :-

make[4]: Entering directory `/usr/build/llvm/lib/Target/SparcV9/ModuloScheduling'
llvm[4]: Compiling ModuloSchedulingSuperBlock.cpp for Debug build
/usr/src/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloSchedulingSuperBlock.cpp
: In member function `virtual bool llvm::ModuloSchedulingSBPass::runOnFunction(l
lvm::Function&)':
/usr/src/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloSchedulingSuperBlock.cpp
:151: error: `alarm' undeclared (first use this function)
/usr/src/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloSchedulingSuperBlock.cpp
:151: error: (Each undeclared identifier is reported only once for each function
 it appears in.)
make[4]: *** [/usr/build/llvm/lib/Target/SparcV9/ModuloScheduling/Debug/ModuloSc
hedulingSuperBlock.o] Error 1
make[4]: Leaving directory `/usr/build/llvm/lib/Target/SparcV9/ModuloScheduling'

make[3]: *** [ModuloScheduling/.makeall] Error 2
make[3]: Leaving directory `/usr/build/llvm/lib/Target/SparcV9'
make[2]: *** [SparcV9/.makeall] Error 2
make[2]: Leaving directory `/usr/build/llvm/lib/Target'
make[1]: *** [Target/.makeall] Error 2
make[1]: Leaving directory `/usr/build/llvm/lib'
make: *** [all] Error 1



Aaron

  ----- Original Message ----- 
  From: Aaron Gray 
  To: LLVM Developers Mailing List 
  Sent: Thursday, June 30, 2005 9:10 PM
  Subject: Re: [LLVMdev] X86AsmPrinter + MASM and NASM backends


  Builds fine on Linux, but there seems to be a problem building it on Cygwin, will look into this.

  Aaron
    ----- Original Message ----- 
    From: Aaron Gray 
    To: LLVM Developers Mailing List 
    Sent: Thursday, June 30, 2005 7:12 PM
    Subject: [LLVMdev] X86AsmPrinter + MASM and NASM backends


    I have "refactored" the X86AsmPrinter into a number of files ready for the MASM and NASM backends to be added.

    There is a new namespace llvm::X86 to replace the anomonous namespace as this does not work accross mutiple .h and .cpp files. Other than that everything is pritty straight forward, t may possibly need tweeking though.

    It has been built under MS VS2003, but I am not sure how to add it to the makefiles for the Cygwin and Linux platforms, help on this would be appreciated.

    Afaik there are no specific tests for the X86AsmPrinter. If not it would be good to create some.

    Also I am wondering about how to go about creating tests for the MASM and NASM backends, hints and help are welcomed.

    Aaron
    .




----------------------------------------------------------------------------


    _______________________________________________
    LLVM Developers mailing list
    LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
    http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev



------------------------------------------------------------------------------


  _______________________________________________
  LLVM Developers mailing list
  LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
  http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050630/4df391dd/attachment.html>


More information about the llvm-dev mailing list