[all-commits] [llvm/llvm-project] 0f5264: [clang] Reject character devices in #embed for now...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Tue Apr 15 00:43:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f526498a1b0819055d1094fd9850fdbcab5b903
      https://github.com/llvm/llvm-project/commit/0f526498a1b0819055d1094fd9850fdbcab5b903
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/include/clang/Basic/FileEntry.h
    M clang/lib/Basic/FileManager.cpp
    M clang/lib/Lex/PPDirectives.cpp
    A clang/test/Preprocessor/embed-reject-device-files-lin.c
    A clang/test/Preprocessor/embed-reject-device-files-win.c

  Log Message:
  -----------
  [clang] Reject character devices in #embed for now (#135370)

See https://github.com/llvm/llvm-project/issues/126629 . Right now they
are not supported properly and support requires modifying several layers
of LLVM. For now simply reject them while proper support is being
developed to avoid potential security problems.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list