diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-17 20:42:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-17 20:42:00 +0000 |
commit | 092a9dda2d13918a6410db26f41c7b5aa97ff989 (patch) | |
tree | 2dcdd3c50dd465a3e1068c713ed64e39781dea35 /include/llvm/Config | |
parent | 234f6893a2bb752479e51c943e1eb604f2f48429 (diff) | |
download | external_llvm-092a9dda2d13918a6410db26f41c7b5aa97ff989.zip external_llvm-092a9dda2d13918a6410db26f41c7b5aa97ff989.tar.gz external_llvm-092a9dda2d13918a6410db26f41c7b5aa97ff989.tar.bz2 |
Sketch support for target specific assembly parser.
- Not fully enabled yet, need a configure regeneration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
-rw-r--r-- | include/llvm/Config/AsmParsers.def.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/llvm/Config/AsmParsers.def.in b/include/llvm/Config/AsmParsers.def.in new file mode 100644 index 0000000..041af83 --- /dev/null +++ b/include/llvm/Config/AsmParsers.def.in @@ -0,0 +1,29 @@ +//===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file enumerates all of the assembly-language parsers +// supported by this build of LLVM. Clients of this file should define +// the LLVM_ASM_PARSER macro to be a function-like macro with a +// single parameter (the name of the target whose assembly can be +// generated); including this file will then enumerate all of the +// targets with assembly parsers. +// +// The set of targets supported by LLVM is generated at configuration +// time, at which point this header is generated. Do not modify this +// header directly. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_ASM_PARSER +# error Please define the macro LLVM_ASM_PARSER(TargetName) +#endif + +@LLVM_ENUM_ASM_PARSERS@ + +#undef LLVM_ASM_PARSER |