On Thu, Jan 14, 2021 at 8:38 AM Ivan Serdyuk <[email protected]> wrote:
> Hi. > > I caught the following error: > > https://go.googlesource.com/gollvm/+/refs/heads/master/bridge/go-llvm-cabi-oracle.cpp#162 > Would it help to share the actual error message and compiler invocation? > Among other things: people has nothing to do with an ID. There is a > specific list of options: > https://llvm.org/doxygen/namespacellvm_1_1CallingConv.html > . > But providing a human friendly name *with* an ID could have some sense. > Not sure what you are saying here. The line number you cite above indicates that gollvm is being asked to use a calling convention that is recognized and/or supported by clang/LLVM, but not supported by gollvm. Another problem is that this is an intersection with the class, dedicated > to a specific struct alignment. I have doubts that all (at least - user > mode, not kernel mode ) calling conventions would assume all possible > options, for aligning structs/unions. Also there are OS specific issues - > so it more about OS-convention-alignment triple. > > I would propose some re-design, to offer a purpose specific output, > depending on developer's goals. So the output would help to navigate > against the next step. > ? Again, not sure what you are getting at. Than -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2BUr55FGe0g2Dbf%3DDErxGkcr0uJ-Py85y54P7BmVRKwyhhH8VQ%40mail.gmail.com.
