[all-commits] [llvm/llvm-project] 77b2ff: Fix a reentrance bug with deserializing ObjC type ...

John McCall via All-commits all-commits at lists.llvm.org
Wed Feb 12 15:44:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 77b2ffc498e92cce7546d191f6712a3046300501
      https://github.com/llvm/llvm-project/commit/77b2ffc498e92cce7546d191f6712a3046300501
  Author: John McCall <rjmccall at apple.com>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/test/Modules/Inputs/module.map
    A clang/test/Modules/Inputs/objc_type_param.h
    A clang/test/Modules/objc-type-param.m

  Log Message:
  -----------
  Fix a reentrance bug with deserializing ObjC type parameters.

This is a longstanding bug that seems to have been hidden by
a combination of (1) the normal flow being to deserialize the
interface before deserializing its parameter and (2) a precise
ordering of work that was apparently recently disturbed,
perhaps by my abstract-serialization work or Bruno's ObjC
module merging work.

Fixes rdar://59153545.




More information about the All-commits mailing list