[llvm-bugs] [Bug 43318] New: Compiling simple programs with -fsanitize=address on Windows fails

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 14 07:12:26 PDT 2019


            Bug ID: 43318
           Summary: Compiling simple programs with -fsanitize=address on
                    Windows fails
           Product: new-bugs
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: daan.j.demeyer at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org


main.cpp: int main(int argc, char *argv[]) { return 0; }

command: clang++ -fsanitize=address main.cpp

Compilation was done from a regular cmd command prompt (not a visual studio
developer prompt, although doing that gives the same result)


==10448==AddressSanitizer CHECK failed:
"((!asan_init_is_running && "ASan init calls itself!")) != (0)" (0x0, 0x0)     
                                       ==10448==AddressSanitizer CHECK failed:
"((AddrIsInMem(addr))) != (0)" (0x0, 0x0)

Platform: Windows 10
Version: 1903
OS build: 18362.356

clang++ --version: 

clang version 8.0.1 (tags/RELEASE_801/final)                                   
                                    Target: x86_64-pc-windows-msvc             
model: posix                                                                   

Visual Studio: Visual Studio Build Tools 2019
Version: 16.2.4

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/20190914/d9da6798/attachment-0001.html>

More information about the llvm-bugs mailing list