From 68a5db2eb77ba233dff933d8c27509ffba176f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= Date: Sat, 8 Oct 2022 08:48:50 +0200 Subject: [PATCH] Use llvm subdomain for compiler-explorer link Using `llvm.godbolt.org` subdomain should automatically select the correct LLVM-IR language. --- src/backend/debugging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/debugging.md b/src/backend/debugging.md index 791a61fb..3b3e0e62 100644 --- a/src/backend/debugging.md +++ b/src/backend/debugging.md @@ -222,9 +222,9 @@ really helpful for this. 1. Once you have some LLVM IR for the problematic code (see above), you can create a minimal working example with Godbolt. Go to -[gcc.godbolt.org](https://gcc.godbolt.org). +[llvm.godbolt.org](https://llvm.godbolt.org). -2. Choose `LLVM-IR` as programming language. +2. Choose `LLVM-IR` as programming language if not already selected. 3. Use `llc` to compile the IR to a particular target as is: - There are some useful flags: `-mattr` enables target features, `-march=`