Re: [go-nuts] Simplifying LLVM bitcode from gollvm

2021-09-14 Thread Khanh TN
So, I figured out this inline asm ends with a "checksum" then ".text". I think I can remove inline asm before this ".text" and keep the rest since it might be useful. Please correct me if I'm wrong. Thanks for your support! Khanh On Wednesday, September 15, 2021 at 11:59:25 AM UTC+8 Khanh TN wr

Re: [go-nuts] Simplifying LLVM bitcode from gollvm

2021-09-14 Thread Khanh TN
Hi, Thanks, Than and Ian for your responses. I would like to write an LLVM Pass to remove this export data. What is the best way to do that? I am thinking module M.setModuleInlineAsm(""); But that might remove other useful inline asm. Khanh On Tuesday, September 14, 2021 at 1:54:03 AM UTC+8 th.

Re: [go-nuts] A question about channel

2021-09-14 Thread Ian Lance Taylor
On Tue, Sep 14, 2021 at 9:30 AM LinkinStar wrote: > > Hi golang-nuts, > When I read the source code about chan.go, I found some problems that were a > little difficult to understand. > > hchan has two function, full and empty. > > func full(c *hchan) bool { > // c.dataqsiz is immutable (never wri

[go-nuts] A question about channel

2021-09-14 Thread LinkinStar
Hi golang-nuts, When I read the source code about chan.go, I found some problems that were a little difficult to understand. hchan has two function, full and empty. func full(c *hchan) bool { // c.dataqsiz is immutable (never written after the channel is created) // so it is safe to read at any

Re: [go-nuts] fonts, bitmap and the (old TeX) PK file format

2021-09-14 Thread 'Sebastien Binet' via golang-nuts
On Fri Aug 27, 2021 at 15:28 CET, 'Sebastien Binet' via golang-nuts wrote: > hi there, > > I am working on providing a pure-Go TeX engine. > to achieve such a thing, I'd need to be able to decode and use the > so-called "PacKed font file" format (PK fonts). > (I know it's a very old & deprecated fi

Re: [go-nuts] Latest status of cl.exe support for cgo build on Windows

2021-09-14 Thread Makoto Shimazu
Hi Ian, I see, thanks for your quick response! I'm going to use gcc by installing mingw through chocolatey instead. Makoto 2021年9月14日(火) 9:37 Ian Lance Taylor : > On Mon, Sep 13, 2021 at 4:35 PM Makoto Shimazu > wrote: > > > > I'm now configuring CircleCI to build our tools on Windows, and try

Re: [go-nuts] Re: go build prints gc traces

2021-09-14 Thread jan.f...@gmail.com
tisdag 14 september 2021 kl. 02:48:15 UTC+2 skrev Ian Lance Taylor: > Sounds related to https://golag.org/issue/27628. The build cache > caches the output of the tools. You may have gotten a build cache > entry with GODEBUG set, and that kept being used even though GODEBUG > was not set later.