http://llvm.org/bugs/show_bug.cgi?id=9251

           Summary: Support -fno-delete-null-pointer-checks
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Linux kernel uses it, because it want gcc to play smart and delete NULL pointer
checks and introduce security bugs that way (NULL pointer deref doesn't always
crash kernel, especially if someone managed to map page 0).

clang should probably support it too.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to