[llvm] 39398c5 - [doc] Fix markdown bug in LangRef docs for EH model (#226025)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 22:36:21 PDT 2026
Author: Reid Kleckner
Date: 2026-09-23T22:36:15-07:00
New Revision: 39398c562f7ffbb6a8303e4f1b518606bd70be9f
URL: https://github.com/llvm/llvm-project/commit/39398c562f7ffbb6a8303e4f1b518606bd70be9f
DIFF: https://github.com/llvm/llvm-project/commit/39398c562f7ffbb6a8303e4f1b518606bd70be9f.diff
LOG: [doc] Fix markdown bug in LangRef docs for EH model (#226025)
I'm pretty sure this was my fault.
Added:
Modified:
llvm/docs/LangRef.md
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.md b/llvm/docs/LangRef.md
index 2d00161ecdfff..4966065f2207c 100644
--- a/llvm/docs/LangRef.md
+++ b/llvm/docs/LangRef.md
@@ -9557,7 +9557,8 @@ lowered. The value is a string and must be one of:
When the flag is absent, the target's default thread model is used. The flag
must use the `error` merge behavior. For example:
-```
+
+```llvm
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"thread-model", !"single"}
```
@@ -9570,15 +9571,18 @@ interpretation target-specific.
For example, RISC-V uses names such as `"ilp32"`, `"ilp32d"`, `"lp64"`, and
`"lp64d"`:
-```
+
+```llvm
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"target-abi", !"lp64d"}
```
while ARM uses names such as `"aapcs"` and `"apcs-gnu"`:
-```
+
+```llvm
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"target-abi", !"aapcs"}
...
+```
### Exception Model Module Flags Metadata
More information about the llvm-commits
mailing list