[PATCH] D23931: [XRay] ARM 32-bit no-Thumb support in LLVM
    Renato Golin via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Sep 16 07:19:43 PDT 2016
    
    
  
rengolin added a comment.
In https://reviews.llvm.org/D23931#544741, @rSerge wrote:
> Fixed  "Error: attempt to use an ARM instruction on a Thumb-only processor -- `push {r1-r3,lr}' ". The reason was ".arch armv7" directive. This directive for GCC represents the intersection of arm7v-a and armv7-m instruction sets, implying Thumb-only instructions, and this conflicts with ".code 32" directive. Then GCC, instead of articulating the conflict, complains about every instruction in the assembly file.
Ah, yes! This makes sense.
https://reviews.llvm.org/D23931
    
    
More information about the llvm-commits
mailing list