[PATCH] D34622: [Linker] Add directives to support mixing ARM/Thumb module-level inline asm.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 09:45:21 PDT 2017


fhahn added a comment.

@echristo when linking ARM and Thumb modules, their module-level inline assembly can contain instructions only available in Thumb or ARM, e.g. ORN  in test/Linker/Inputs/thumb-module-inline-asm.ll is only available in Thumb. Without adding .arm/.thumb when joining the inline assembly, assembling destination module will fail, if an ARM triple is used.


https://reviews.llvm.org/D34622





More information about the llvm-commits mailing list