[llvm-commits] Move register tables from MipsDisassembler

Medic, Vladimir vmedic at mips.com
Fri Jun 1 05:20:55 PDT 2012

Hi Jakob,
if I'm not mistaken, these are defined inside of anonymous namespace and are not visible outside _Target_GenRegisterInfo.inc. If I try to include this in more than one module I get link error.

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<mailto: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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120601/fc892837/attachment.html>

More information about the llvm-commits mailing list