Closed dbrabera closed 10 years ago
gcc -c og.s og.s: Assembler messages: og.s:111: Error: invalid character '"' in operand 1 og.s:164: Error: invalid character '"' in operand 1 og.s:226: Error: invalid character '"' before operand 1 og.s:244: Error: invalid character '"' in operand 1 Makefile:17: recipe for target 'test-llvm' failed
line 111 of og.s movl $"default-str", (%esp)
and in og.ll: @default-seqof = external global %SeqOf @default-str = external global %My_OctStr
If I replace the dash with underscore, it compiles fine
Interestingly, I can't reproduce the error. My llc version 3.3 escape the dash characters generating lines like this:
movl $default_2D_seqof, %esi
Anyway, It's easy to solve. I will make a pull request.
Weird, as mine is version 3.4.2 (LLVM version) Anyway, after your last update, it works perfectly.
Added support for ASN.1 constants both in the parser and the LLVM backend.