Fangrui Song
7b23f413d1
MCAsmStreamer: Omit initial ".text"
...
llvm-mc --assemble prints an initial `.text` from `initSections`.
This is weird for quick assembly tasks that do not specify `.text`.
Omit the .text by moving section directive printing from `changeSection`
to `switchSection`. switchSectionNoPrint now correctly calls the
`changeSection` hook (needed by MachO).
The initial directives of clang -S are now reordered. On ELF targets, we
get `.file "a.c"; .text` instead of `.text; .file "a.c"`.
If there is no function, `.text` will be omitted.
2024-12-22 22:03:44 -08:00
..
2024-07-22 09:03:05 -07:00
2023-05-17 17:03:15 +02:00
2024-07-23 09:44:00 -07:00
2024-04-26 08:30:27 -07:00
2022-10-11 15:07:14 -07:00
2024-01-09 10:48:23 -08:00
2024-07-24 18:24:39 +01:00
2022-12-01 22:04:27 +00:00
2022-11-27 20:10:29 -08:00
2023-06-27 19:36:27 -07:00
2024-07-07 12:41:13 -07:00
2023-01-19 14:10:31 +00:00
2023-01-30 19:27:18 +00:00
2022-11-27 20:10:29 -08:00
2022-10-11 12:37:51 -07:00
2022-11-27 20:10:29 -08:00
2022-09-08 09:32:13 -07:00
2022-09-08 01:00:06 -07:00
2023-11-17 01:13:38 -08:00
2024-07-01 10:32:02 -07:00
2024-07-01 10:32:02 -07:00
2022-12-27 20:01:26 -08:00
2024-12-12 08:51:52 -08:00
2024-12-12 08:51:52 -08:00
2024-09-20 06:32:34 -07:00
2023-04-25 20:31:04 -07:00
2023-07-12 12:03:44 +02:00
2022-12-15 14:40:26 -08:00
2022-12-15 14:40:26 -08:00
2022-11-27 20:10:29 -08:00
2022-12-01 22:04:27 +00:00
2022-10-29 15:40:26 -07:00
2024-03-06 23:19:59 -08:00
2022-08-28 23:13:46 -07:00
2024-07-30 18:12:09 -07:00
2024-06-12 14:13:20 -07:00
2023-08-09 17:32:09 -07:00
2023-05-17 17:03:15 +02:00
2024-12-22 00:04:16 -08:00
2024-12-18 23:36:13 -08:00
2024-07-11 17:22:41 -04:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2024-08-18 11:14:59 -07:00
2024-07-31 09:06:43 +02:00
2023-12-07 18:34:36 -08:00
2024-03-06 23:19:59 -08:00
2024-11-20 21:02:44 +08:00
2024-12-14 22:11:58 -08:00
2024-02-15 17:05:15 -08:00
2024-01-16 15:32:35 -08:00
2024-01-18 13:31:33 -08:00
2022-09-22 16:26:50 +00:00
2024-01-09 10:42:34 -08:00
2023-04-14 17:29:10 -07:00
2024-05-17 11:20:33 +01:00
2022-11-27 20:10:29 -08:00
2024-12-22 22:03:44 -08:00
2024-06-09 23:05:05 -07:00
2023-06-15 18:35:51 -07:00
2024-06-12 16:47:08 -07:00
2023-08-09 21:42:18 -07:00
2024-07-17 02:34:25 +03:00