[LLVMdev] problems with tablegen and namespaces
Rafael EspĂndola
rafael.espindola at gmail.com
Mon May 1 16:27:52 PDT 2006
> > In ARMGenInstrNames.inc, the TargetInstrInfo namespace is used if the
> > AAA instruction isn't defined and the ARM namespace is used if it is
> > defined.
>
> I don't follow here. XXXGenInstrNames.inc shouldn't have namespaces at
> all. Can you paste a few lines out of the file that you are seeing?
Sure:
with AAA defined, ARMGenInstrNames.inc looks like:
-----------------------------------------
namespace llvm {
namespace ARM {
.
.
.
}
}
--------------------------------------
and without AAA, ARMGenInstrNames.inc looks like:
--------------------------------------------
namespace llvm {
namespace TargetInstrInfo {
.
.
.
}
}
--------------------------------------------
> Thanks,
>
> -Chris
Thanks,
Rafael
More information about the llvm-dev
mailing list