File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ define float @test4() nounwind {
85
85
; SOFT-NEXT: vadd.f32 d0, d0, d16
86
86
; SOFT-NEXT: vmov r0, s0
87
87
; SOFT-NEXT: pop {lr}
88
+ ; SOFT-NEXT: bx lr
88
89
;
89
90
; HARD-LABEL: test4:
90
91
; HARD: @ %bb.0: @ %entry
Original file line number Diff line number Diff line change @@ -165,12 +165,10 @@ class string:
165
165
)
166
166
167
167
ASM_FUNCTION_ARM_DARWIN_RE = re .compile (
168
- r"@[ \t]--[ \t]Begin[ \t]function[ \t](?P<func>[^ \t]+?)\n"
169
- r"^[ \t]*\.globl[ \t]*_(?P=func)[ \t]*"
168
+ r"^[ \t]*\.globl[ \t]*_(?P<func>[^ \t]+)[ \t]*\@[ \t]*--[ \t]Begin[ \t]function[ \t](?P=func)\n"
170
169
r"(?P<directives>.*?)"
171
- r"^_(?P=func):\n[ \t]*"
172
- r"(?P<body>.*?)"
173
- r"^[ \t]*@[ \t]--[ \t]End[ \t]function" ,
170
+ r"^_(?P=func):.*?\n"
171
+ r"(?P<body>.*?)(?=^[ \t]*@[ \t]--[ \t]End[ \t]function)" ,
174
172
flags = (re .M | re .S ),
175
173
)
176
174
You can’t perform that action at this time.
0 commit comments