Skip to content

Commit 16bdb1b

Browse files
authored
Fix.dwarf error bad symbol mangling (#2127)
Don't escape '.' in asm symbols for DWARF
1 parent 531a421 commit 16bdb1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/asm_targets/asm_symbol.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
**********************************************************************************)
2626

2727
let should_be_escaped = function
28-
| 'A' .. 'Z' | 'a' .. 'z' | '0' .. '9' | '_' -> false
28+
| 'A' .. 'Z' | 'a' .. 'z' | '0' .. '9' | '_' | '.' -> false
2929
| _c -> true
3030

3131
module Thing = struct

0 commit comments

Comments
 (0)