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 {
8585; SOFT-NEXT: vadd.f32 d0, d0, d16
8686; SOFT-NEXT: vmov r0, s0
8787; SOFT-NEXT: pop {lr}
88+ ; SOFT-NEXT: bx lr
8889;
8990; HARD-LABEL: test4:
9091; HARD: @ %bb.0: @ %entry
Original file line number Diff line number Diff line change @@ -165,12 +165,10 @@ class string:
165165)
166166
167167ASM_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"
170169 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)" ,
174172 flags = (re .M | re .S ),
175173)
176174
You can’t perform that action at this time.
0 commit comments