digitalmars.D - Godbolt.org hex view
- Walter Bright (5/5) Jan 24 When I used to use godbolt.org, it would show the assembler generated by...
- user1234 (6/12) Jan 24 "Output" + check "Link to binary"
- Walter Bright (2/16) Jan 24 Thank you, your link works. But where does it say "Link to binary" ??
- Richard (Rikki) Andrew Cattermole (3/22) Jan 24 Under the compiler/target drop down button.
- Walter Bright (16/18) Jan 24 There is no Compiler/target button. But there is a dialog box with "ARM6...
- Richard (Rikki) Andrew Cattermole (8/16) Jan 24 The gear is the icon for a button with the label "Output".
- Elias Batek (0xEAB) (3/9) Jan 25 I don’t think so:
- Richard (Rikki) Andrew Cattermole (3/16) Jan 25 Oh lol, disabled that on cloudflare.
- Walter Bright (3/6) Jan 25 I found that the hex view appears and disappears even with the exact sam...
- Richard (Rikki) Andrew Cattermole (4/11) Jan 25 Yeah sometimes settings get lost and default isn't what you expect of
- Walter Bright (3/4) Jan 24 Ah, I found it. It's under the "gear" icon. I hate icons. But I'm glad t...
- Richard (Rikki) Andrew Cattermole (3/8) Jan 24 What do you mean icon?
- Walter Bright (3/8) Jan 24 But with the ARM64 GCC compilers, the "Compile to binary object" is grey...
When I used to use godbolt.org, it would show the assembler generated by the compiler along with the hex bytes. Now it no longer shows the hex bytes. It just shows the disassembly. How do I turn that on? I clicked on every option I could find. I googled it. No joy. I tried Groc. No useful information. P.S. I get the hex output with clang, but not with gcc???
Jan 24
On Friday, 24 January 2025 at 08:56:20 UTC, Walter Bright wrote:When I used to use godbolt.org, it would show the assembler generated by the compiler along with the hex bytes. Now it no longer shows the hex bytes. It just shows the disassembly. How do I turn that on? I clicked on every option I could find. I googled it. No joy. I tried Groc. No useful information. P.S. I get the hex output with clang, but not with gcc???"Output" + check "Link to binary" e.g https://godbolt.org/z/41hneYz98 It seems that hex is only displayed when objdump is also used as disaseembler, otherwise without the "Link to binary" option an ".S" file is directly produced.
Jan 24
On 1/24/2025 2:48 AM, user1234 wrote:On Friday, 24 January 2025 at 08:56:20 UTC, Walter Bright wrote:Thank you, your link works. But where does it say "Link to binary" ??When I used to use godbolt.org, it would show the assembler generated by the compiler along with the hex bytes. Now it no longer shows the hex bytes. It just shows the disassembly. How do I turn that on? I clicked on every option I could find. I googled it. No joy. I tried Groc. No useful information. P.S. I get the hex output with clang, but not with gcc???"Output" + check "Link to binary" e.g https://godbolt.org/z/41hneYz98 It seems that hex is only displayed when objdump is also used as disaseembler, otherwise without the "Link to binary" option an ".S" file is directly produced.
Jan 24
On 25/01/2025 3:37 PM, Walter Bright wrote:On 1/24/2025 2:48 AM, user1234 wrote:Under the compiler/target drop down button. There is a drop down button called Output.On Friday, 24 January 2025 at 08:56:20 UTC, Walter Bright wrote:Thank you, your link works. But where does it say "Link to binary" ??When I used to use godbolt.org, it would show the assembler generated by the compiler along with the hex bytes. Now it no longer shows the hex bytes. It just shows the disassembly. How do I turn that on? I clicked on every option I could find. I googled it. No joy. I tried Groc. No useful information. P.S. I get the hex output with clang, but not with gcc???"Output" + check "Link to binary" e.g https://godbolt.org/z/41hneYz98 It seems that hex is only displayed when objdump is also used as disaseembler, otherwise without the "Link to binary" option an ".S" file is directly produced.
Jan 24
On 1/24/2025 6:39 PM, Richard (Rikki) Andrew Cattermole wrote:Under the compiler/target drop down button.There is no Compiler/target button. But there is a dialog box with "ARM64 GCC 10.2.0".There is a drop down button called Output.There's one with a gear on it that has: - Compile to binary object (greyed out) - Execute the code (greyed out) X Intel asm syntax (greyed out) X Demangle identifiers With the first 3 options greyed out. Now, merely changing the target to "armv8-a clang (trunk)": - Compile to binary object (greyed out) X Link to binary - Execute the code X Intel asm syntax X Demangle identifiers and the hex code appears. All I did was change the compiler and target.
Jan 24
On 25/01/2025 3:55 PM, Walter Bright wrote:On 1/24/2025 6:39 PM, Richard (Rikki) Andrew Cattermole wrote:Yeah that's it.Under the compiler/target drop down button.There is no Compiler/target button. But there is a dialog box with "ARM64 GCC 10.2.0".The gear is the icon for a button with the label "Output". Here is how it is supposed to look like: https://cattermole.co.nz/godbolt.org.example.png The reason not all targets may be showing up as an option is based upon the host system may not have everything installed that is needed to link for each target. Which can be annoying.There is a drop down button called Output.There's one with a gear on it that has:
Jan 24
On Saturday, 25 January 2025 at 03:04:00 UTC, Richard (Rikki) Andrew Cattermole wrote:Here is how it is supposed to look like: https://cattermole.co.nz/godbolt.org.example.pngI don’t think so:Error 1011 Access denied The owner of this website (cattermole.co.nz) does not allow hotlinking to that resource (/godbolt.org.example.png).
Jan 25
On 26/01/2025 4:19 PM, Elias Batek (0xEAB) wrote:On Saturday, 25 January 2025 at 03:04:00 UTC, Richard (Rikki) Andrew Cattermole wrote:Oh lol, disabled that on cloudflare. Worked when I had typed it in, didn't check for referrals.Here is how it is supposed to look like: https://cattermole.co.nz/godbolt.org.example.pngI don’t think so:Error 1011 Access denied The owner of this website (cattermole.co.nz) does not allow hotlinking to that resource (/godbolt.org.example.png).
Jan 25
On 1/24/2025 7:04 PM, Richard (Rikki) Andrew Cattermole wrote:The reason not all targets may be showing up as an option is based upon the host system may not have everything installed that is needed to link for each target. Which can be annoying.I found that the hex view appears and disappears even with the exact same compiler selected. I filed a bug report, but that went nowhere.
Jan 25
On 26/01/2025 5:28 PM, Walter Bright wrote:On 1/24/2025 7:04 PM, Richard (Rikki) Andrew Cattermole wrote:Yeah sometimes settings get lost and default isn't what you expect of it, depending on what instances you access. Can be annoying if you have to mess with something just the one time.The reason not all targets may be showing up as an option is based upon the host system may not have everything installed that is needed to link for each target. Which can be annoying.I found that the hex view appears and disappears even with the exact same compiler selected. I filed a bug report, but that went nowhere.
Jan 25
On 1/24/2025 6:37 PM, Walter Bright wrote:Thank you, your link works. But where does it say "Link to binary" ??Ah, I found it. It's under the "gear" icon. I hate icons. But I'm glad to be back in business with godbolt.
Jan 24
On 25/01/2025 3:40 PM, Walter Bright wrote:On 1/24/2025 6:37 PM, Walter Bright wrote:What do you mean icon? How small is your resolution that it can't display the label?Thank you, your link works. But where does it say "Link to binary" ??Ah, I found it. It's under the "gear" icon. I hate icons. But I'm glad to be back in business with godbolt.
Jan 24
On 1/24/2025 6:40 PM, Walter Bright wrote:On 1/24/2025 6:37 PM, Walter Bright wrote:But with the ARM64 GCC compilers, the "Compile to binary object" is greyed out! ArrgghhhThank you, your link works. But where does it say "Link to binary" ??Ah, I found it. It's under the "gear" icon. I hate icons. But I'm glad to be back in business with godbolt.
Jan 24