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 /autoconf | |
parent | 234f6893a2bb752479e51c943e1eb604f2f48429 (diff) | |
download | llvm-092a9dda2d13918a6410db26f41c7b5aa97ff989.tar.gz llvm-092a9dda2d13918a6410db26f41c7b5aa97ff989.tar.bz2 llvm-092a9dda2d13918a6410db26f41c7b5aa97ff989.tar.xz |
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 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 189c2d6fab..43fbc4fee4 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -458,17 +458,22 @@ for a_target in $TARGETS_TO_BUILD; do done # Build the LLVM_TARGET and LLVM_ASM_PRINTER macro uses for -# Targets.def and AsmPrinters.def. +# Targets.def, AsmPrinters.def, and AsmParsers.def. LLVM_ENUM_TARGETS="" LLVM_ENUM_ASM_PRINTERS="" +LLVM_ENUM_ASM_PARSERS="" for target_to_build in $TARGETS_TO_BUILD; do LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS" if test -f ${srcdir}/lib/Target/${target_to_build}/AsmPrinter/Makefile ; then LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS"; fi + if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then + LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS"; + fi done AC_SUBST(LLVM_ENUM_TARGETS) AC_SUBST(LLVM_ENUM_ASM_PRINTERS) +AC_SUBST(LLVM_ENUM_ASM_PARSERS) dnl Prevent the CBackend from using printf("%a") for floating point so older dnl C compilers that cannot deal with the 0x0p+0 hex floating point format @@ -1257,6 +1262,7 @@ dnl files can be updated automatically when their *.in sources change. AC_CONFIG_HEADERS([include/llvm/Config/config.h]) AC_CONFIG_FILES([include/llvm/Config/Targets.def]) AC_CONFIG_FILES([include/llvm/Config/AsmPrinters.def]) +AC_CONFIG_FILES([include/llvm/Config/AsmParser.def]) AC_CONFIG_HEADERS([include/llvm/Support/DataTypes.h]) AC_CONFIG_HEADERS([include/llvm/ADT/iterator.h]) |