You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symbol table '.symtab' contains 2 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000000 0 OBJECT LOCAL DEFAULT 1 hello " world
In Clang's as:
Symbol table '.symtab' contains 2 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000000 0 OBJECT LOCAL DEFAULT 2 hello \" world
c frontend
This then seems to make -save-temps have different output to without it:
Symbol table '.symtab' contains 10 entries:
Num: Value Size Type Bind Vis Ndx Name
...
4: 0000000000403000 4 OBJECT GLOBAL DEFAULT 4 hello \" world
...
Without -save-temps:
Symbol table '.symtab' contains 10 entries:
Num: Value Size Type Bind Vis Ndx Name
...
7: 0000000000403000 4 OBJECT GLOBAL DEFAULT 4 hello " world
...
The text was updated successfully, but these errors were encountered:
gas has supported " quoted symbols since 2015:
https://sourceware.org/pipermail/binutils/2015-August/090003.html
We don't handle \\ or \" , leading to clang -c --save-temps vs clang -c
difference for the following C code:
```
int x asm("a\"\\b");
```
Fixllvm#138390
MC/COFF/safeseh.h looks incorrect. \01 in `.safeseh "\01foo"` is not a
correct escape sequence. Change it to \\
Pull Request: llvm#138817
assembler
https://godbolt.org/z/ac1vev5nh
In GCC's as:
In Clang's as:
c frontend
This then seems to make
-save-temps
have different output to without it:https://godbolt.org/z/4sa7e5dq4
clang -save-temps main.c -o clang.o
gives:Without
-save-temps
:The text was updated successfully, but these errors were encountered: