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

            Bug ID: 37316
           Summary: [CFI] LLVM should die (and doesn't) when implicit CFI
                    blacklist file cannot be found.
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: compiler-rt
          Assignee: unassignedb...@nondot.org
          Reporter: cmt...@google.com
                CC: llvm-bugs@lists.llvm.org

The CFI blacklist file, /usr/lib/clang/<version>/share/cfi_blacklist.txt is
necessary for correct code generation.  Although it can be specified with the
-fsaniter-blacklist option, it usually is just used implicitly, without that
option.  If CFI is enabled and that file is missing, LLVM should die (but it
does not).  This is bad as it can lead to generated binaries that fail with CFI
checks that are already known to be bad (blacklisted).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to