[all-commits] [llvm/llvm-project] 267a9f: [clang][modulemap] Fix crashes loading pcms (#218011)

Keith Smiley via All-commits all-commits at lists.llvm.org
Fri Sep 18 16:20:13 PDT 2026


  Branch: refs/heads/release/23.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 267a9fb463893ecc6eea0ae483777af5d8216a9b
      https://github.com/llvm/llvm-project/commit/267a9fb463893ecc6eea0ae483777af5d8216a9b
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M clang/lib/Lex/ModuleMap.cpp
    A clang/test/Modules/pr215931.m

  Log Message:
  -----------
  [clang][modulemap] Fix crashes loading pcms (#218011)

Previously in the case that the directory was missing, loading a pcm
would crash. Now it attempts to load absolute paths first, and
gracefully ignores missing directories.

Follow up to https://github.com/llvm/llvm-project/pull/181916

Fixes: https://github.com/llvm/llvm-project/issues/215931

Assisted By: codex

(cherry picked from commit cd1abefa98daa37334eb4f8e48f1956fde859b1a)



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