summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCAsmInfo.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-01-24 00:30:17 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-01-24 00:30:17 +0000
commit3eb4be0ace6263f35a2f3aae9e964a752ebe55af (patch)
treec2667c6c34a836e960dec7e6660fdc4cdb1e6b5e /include/llvm/MC/MCAsmInfo.h
parent7b426cee22a3cac030ec7ace0be04ee8569f18c7 (diff)
downloadllvm-3eb4be0ace6263f35a2f3aae9e964a752ebe55af.tar.gz
llvm-3eb4be0ace6263f35a2f3aae9e964a752ebe55af.tar.bz2
llvm-3eb4be0ace6263f35a2f3aae9e964a752ebe55af.tar.xz
Revert r148686 (and r148694, a fix to it) due to a serious layering
violation -- MC cannot depend on CodeGen. Specifically, the MCTargetDesc component of each target is actually a subcomponent of the MC library. As such, it cannot depend on the target-independent code generator, because MC itself cannot depend on the target-independent code generator. This change moved a flag from the ARM MCTargetDesc file ARMMCAsmInfo.cpp to the CodeGen layer in ARMException.cpp, leaving behind an 'extern' to refer back to it. That layering order isn't viable givin the constraints outlined above. Commandline flags are designed to be static specifically to avoid these types of bugs. Fixing this is likely going to require some non-trivial refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmInfo.h')
-rw-r--r--include/llvm/MC/MCAsmInfo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index ded30d824e..5accabcd9f 100644
--- a/include/llvm/MC/MCAsmInfo.h
+++ b/include/llvm/MC/MCAsmInfo.h
@@ -30,7 +30,6 @@ namespace llvm {
namespace ExceptionHandling {
enum ExceptionsType { None, DwarfCFI, SjLj, ARM, Win64 };
- enum ARMEHABIMode { ARMEHABIDisabled, ARMEHABIUnwind, ARMEHABIFull };
}
namespace LCOMM {