[PATCH] D33721: [ARM] Add support for target("arm") and target("thumb").

Eric Christopher via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 1 14:38:40 PDT 2017


echristo added inline comments.


================
Comment at: lib/Basic/Targets.cpp:5439-5442
+    // [-|+]thumb-mode target features respectively.
+    std::vector<std::string> UpdatedFeaturesVec(FeaturesVec);
+    for (auto &Feature : UpdatedFeaturesVec) {
+      if (Feature.compare("+arm") == 0)
----------------
Won't work below in handleTargetFeatures?


https://reviews.llvm.org/D33721





More information about the cfe-commits mailing list