summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-04-01 14:15:35 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-04-01 14:15:35 +0000
commitcc67344a862573fbb91f0c252b55d65d283cdeca (patch)
tree586a74ed3ed6cede8b57812bf9025b10e959d990 /clang/lib/Basic
parent8f4c4d535b5e38be49245ca28ab4b65b02b0c093 (diff)
downloadbcm5719-llvm-cc67344a862573fbb91f0c252b55d65d283cdeca.tar.gz
bcm5719-llvm-cc67344a862573fbb91f0c252b55d65d283cdeca.zip
[SystemZ] Add header files to Makefile / module.modulemap
This should fix build-bot failures after r233804. The patch also adds a "systemz" feature, and renames the "transactional-execution" feature to "htm", since it turns out "-" is not a legal character in module feature names. llvm-svn: 233807
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r--clang/lib/Basic/Targets.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index 48a3a7c1cbf..96dda54edb9 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -5487,7 +5487,8 @@ public:
bool hasFeature(StringRef Feature) const override {
return llvm::StringSwitch<bool>(Feature)
- .Case("transactional-execution", HasTransactionalExecution)
+ .Case("systemz", true)
+ .Case("htm", HasTransactionalExecution)
.Default(false);
}
};
OpenPOWER on IntegriCloud