[llvm-bugs] [Bug 46635] New: Wrong macro generation by buildgo.sh

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 8 05:24:47 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46635

            Bug ID: 46635
           Summary: Wrong macro generation by buildgo.sh
           Product: compiler-rt
           Version: 10.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: tsan
          Assignee: unassignedbugs at nondot.org
          Reporter: mzh at golangcn.org
                CC: llvm-bugs at lists.llvm.org

Created attachment 23703
  --> https://bugs.llvm.org/attachment.cgi?id=23703&action=edit
Generated gotsan file.

I'm trying to add MIPS64le thread sanitizer for Go.

But the gotsan.cpp seems got wrong macro expansion and I've attached the
generated gotsan.cpp. 

```
In file included from /usr/include/sys/stat.h:101,                              
                 from ./gotsan.cpp:10619:                                       
/usr/include/asm/stat.h: At global scope:                                       
/usr/include/asm/stat.h:114:16: error: expected ‘;’ at end of member
declaration                          
  unsigned int  st_atime;
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200708/a76637c2/attachment-0001.html>


More information about the llvm-bugs mailing list