Files
clang-p2996/clang/test/Driver
Weining Lu ddb27b1870 [Clang][LoongArch] Pass the -mabi and -target-abi options to as and cc1as respectively
This change is necessary to set correct EFlags according to the
options (-m*-float and -mabi=) passed to clang when input is assembly.

Note: `-mabi=` is not documented by `as`.
```
$ as --version
GNU assembler (GNU Binutils) 2.40.50.20230316
...
$ as --target-help
LARCH options:
```

But we can see gcc invokes `as` and passes the `-mabi=` option when compiling C or assembly.
```
$ gcc -c a.c -v 2>&1 -msoft-float | grep "as -v"
 as -v -mabi=lp64s -o a.o /tmp/ccFrxzZi.s
$ gcc -c a.s -v 2>&1 -msoft-float | grep "as -v"
 as -v -mabi=lp64s -o a.o a.s
```

Reviewed By: xen0n

Differential Revision: https://reviews.llvm.org/D150537
2023-05-16 21:10:15 +08:00
..
2023-05-10 11:51:06 -04:00
2023-05-15 08:56:16 -07:00
2022-09-08 01:39:06 -07:00
2022-08-31 10:31:45 -07:00
2022-08-04 16:54:19 -07:00
2022-08-05 16:27:17 -07:00
2022-09-20 13:32:40 -07:00
2022-09-15 19:58:42 -07:00
2023-03-09 21:41:58 -05:00
2023-03-23 13:52:38 -07:00
2023-05-15 08:56:16 -07:00
2023-02-13 17:25:45 +00:00
2022-12-23 15:34:06 +01:00
2023-01-05 20:27:32 +08:00