[llvm-commits] Move register tables from MipsDisassembler

Akira Hatanaka ahatanak at gmail.com
Wed Jun 20 14:48:59 PDT 2012


Sorry, reverted in r158855.

On Wed, Jun 20, 2012 at 2:13 PM, Alexander Potapenko <glider at google.com>wrote:

> We're seeing the following reports on the AddressSanitizer Linux
> buildbot that builds LLVM:
>
> make[2]: Leaving directory
>
> `/usr/local/google/home/asanbot/b2/slave/linux/build/llvm-build/tools/bugpoint-passes'
>
> /usr/local/google/home/asanbot/b2/slave/linux/build/llvm-build/Release+Asserts/lib/libLLVMMipsDisassembler.a(MipsDisassembler.o):
> In function `DecodeCPURegsRegisterClass(llvm::MCInst&, unsigned int,
> unsigned long, void const*)':
> MipsDisassembler.cpp:(.text+0x4ab): undefined reference to
> `llvm::Mips::CPURegsRegClass'
>
> /usr/local/google/home/asanbot/b2/slave/linux/build/llvm-build/Release+Asserts/lib/libLLVMMipsDisassembler.a(MipsDisassembler.o):
> In function `DecodeFGR32RegisterClass(llvm::MCInst&, unsigned int,
> unsigned long, void const*)':
> MipsDisassembler.cpp:(.text+0x55b): undefined reference to
> `llvm::Mips::FGR32RegClass'
>
> /usr/local/google/home/asanbot/b2/slave/linux/build/llvm-build/Release+Asserts/lib/libLLVMMipsDisassembler.a(MipsDisassembler.o):
> In function `DecodeFGR64RegisterClass(llvm::MCInst&, unsigned int,
> unsigned long, void const*)':
> MipsDisassembler.cpp:(.text+0x60b): undefined reference to
> `llvm::Mips::FGR64RegClass'
>
> /usr/local/google/home/asanbot/b2/slave/linux/build/llvm-build/Release+Asserts/lib/libLLVMMipsDisassembler.a(MipsDisassembler.o):
> In function `DecodeCPU64RegsRegisterClass(llvm::MCInst&, unsigned int,
> unsigned long, void const*)':
> MipsDisassembler.cpp:(.text+0x6bb): undefined reference to
> `llvm::Mips::CPU64RegsRegClass'
>
> /usr/local/google/home/asanbot/b2/slave/linux/build/llvm-build/Release+Asserts/lib/libLLVMMipsDisassembler.a(MipsDisassembler.o):
> In function `DecodeAFGR64RegisterClass(llvm::MCInst&, unsigned int,
> unsigned long, void const*)':
> MipsDisassembler.cpp:(.text+0x773): undefined reference to
> `llvm::Mips::AFGR64RegClass'
>
> /usr/local/google/home/asanbot/b2/slave/linux/build/llvm-build/Release+Asserts/lib/libLLVMMipsDisassembler.a(MipsDisassembler.o):
> In function `DecodeFMem(llvm::MCInst&, unsigned int, unsigned long,
> void const*)':
> MipsDisassembler.cpp:(.text+0x821): undefined reference to
> `llvm::Mips::FGR64RegClass'
> MipsDisassembler.cpp:(.text+0x8a9): undefined reference to
> `llvm::Mips::CPURegsRegClass'
>
> /usr/local/google/home/asanbot/b2/slave/linux/build/llvm-build/Release+Asserts/lib/libLLVMMipsDisassembler.a(MipsDisassembler.o):
> In function `DecodeMem(llvm::MCInst&, unsigned int, unsigned long,
> void const*)':
> MipsDisassembler.cpp:(.text+0xa43): undefined reference to
> `llvm::Mips::CPURegsRegClass'
> MipsDisassembler.cpp:(.text+0xc23): undefined reference to
> `llvm::Mips::CPURegsRegClass'
>
> Could these be related to your change?
>
> On Thu, Jun 21, 2012 at 12:42 AM, Akira Hatanaka <ahatanak at gmail.com>
> wrote:
> > r158846.
> >
> > On Wed, Jun 6, 2012 at 1:42 AM, Medic, Vladimir <vmedic at mips.com> wrote:
> >>
> >>
> >> Hi everyone,
> >> as suggested by Jacob I have changed the patch to use tableGen generated
> >> register tables. Please find the new patch attached. Looking forward to
> your
> >> comments.
> >>
> >> Vladimir
> >> ________________________________
> >> From: Jakob Stoklund Olesen [stoklund at 2pi.dk]
> >> Sent: Thursday, May 31, 2012 6:28 PM
> >> To: Medic, Vladimir
> >> Cc: llvm-commits at cs.uiuc.edu; Jovanovic, Petar
> >> Subject: Re: [llvm-commits] Move register tables from MipsDisassembler
> >>
> >>
> >> On May 31, 2012, at 8:10 AM, "Medic, Vladimir" <vmedic at mips.com> wrote:
> >>
> >> He everyone,
> >> please find attached the patch that moves register definitions from
> >> MipsDisassembler.cpp into a new header file. This is done so the tables
> can
> >> be used from other modules.
> >>
> >>
> >> Hi Vladimir,
> >>
> >> Can't you use the register class tables generated by TableGen instead?
> >> They should be available through MCRegisterInfo.
> >>
> >> /jakob
> >>
> >>
> >> _______________________________________________
> >> llvm-commits mailing list
> >> llvm-commits at cs.uiuc.edu
> >> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >>
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
>
>
>
> --
> Alexander Potapenko
> Software Engineer
> Google Moscow
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120620/774123d6/attachment.html>


More information about the llvm-commits mailing list