From d748b47d115d4bc6c35f2f156ca212f656d3c65c Mon Sep 17 00:00:00 2001 From: dalance Date: Fri, 17 May 2024 11:22:18 +0900 Subject: [PATCH] Add explicit section link --- src/unsafe/asm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unsafe/asm.md b/src/unsafe/asm.md index 176b38a8fc..5a6309947f 100644 --- a/src/unsafe/asm.md +++ b/src/unsafe/asm.md @@ -446,7 +446,7 @@ This example shows a few things: [local labels]: https://sourceware.org/binutils/docs/as/Symbol-Names.html#Local-Labels [an LLVM bug]: https://bugs.llvm.org/show_bug.cgi?id=36144 -## Options +## Options {#options} By default, an inline assembly block is treated the same way as an external FFI function call with a custom calling convention: it may read/write memory, have observable side effects, etc. However, in many cases it is desirable to give the compiler more information about what the assembly code is actually doing so that it can optimize better.