llvm-project/clang/lib
Florian Hahn cc524bf6ac [CodeGen] Add thumb-mode to target-features for arm/thumb triples.
Summary:
The thumb-mode target feature is used to force Thumb or ARM code
generation on a per-function basis. Explicitly adding +thumb-mode to
functions for thumbxx triples enables mixed ARM/Thumb code generation in
places where compilation units with thumbxx and armxx triples are merged
together (e.g. the IR linker or LTO).

For armxx triples, -thumb-mode is added in a similar fashion.

Reviewers: echristo, t.p.northover, kristof.beyls, rengolin

Reviewed By: echristo

Subscribers: rinon, aemerson, mehdi_amini, javed.absar, cfe-commits

Differential Revision: https://reviews.llvm.org/D33448

llvm-svn: 304897
2017-06-07 11:50:45 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST Update libdeps to add BinaryFormat, introduced in r304864. 2017-06-07 04:48:49 +00:00
ASTMatchers Add cxxStdInitializerListExpr AST matcher 2017-05-05 21:01:12 +00:00
Analysis Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:51 +00:00
Basic [CodeGen] Add thumb-mode to target-features for arm/thumb triples. 2017-06-07 11:50:45 +00:00
CodeGen Add support for #pragma clang section 2017-06-05 10:11:57 +00:00
Driver Update libdeps to add BinaryFormat, introduced in r304864. 2017-06-07 04:48:49 +00:00
Edit Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:30:08 +00:00
Format clang-format: [JS] Correctly Indent Nested JavaScript Literals. 2017-06-06 12:38:29 +00:00
Frontend Retain header search and preprocessing options from AST file when emitting 2017-06-06 00:32:01 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers [DOXYGEN] Corrected several typos and incorrect parameters description that Sony's techinical writer found during review. 2017-06-06 22:58:01 +00:00
Index [index] The references to explicit class properties should be recorded 2017-05-24 14:23:40 +00:00
Lex Factor out and unify emission of "module is unavailable" diagnostics. 2017-06-05 18:57:56 +00:00
Parse PR33318: Add missing full-expression checking to static_assert expression. 2017-06-06 01:34:24 +00:00
Rewrite Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:29:40 +00:00
Sema [Sema] Silence unused variable warning. 2017-06-07 10:23:17 +00:00
Serialization Retain header search and preprocessing options from AST file when emitting 2017-06-06 00:32:01 +00:00
StaticAnalyzer [analyzer] Don't add arrow to the inlined function's decl when it has no body. 2017-06-05 13:36:28 +00:00
Tooling Method loadFromCommandLine should be able to report errors 2017-05-24 11:57:37 +00:00
CMakeLists.txt