[all-commits] [llvm/llvm-project] 4a8120: Fix ConstantAggregateBuilderBase::getRelativeOffset

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Mon Jun 15 12:26:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a8120ca9fb904b50e6940457e0f891ca1fdb605
      https://github.com/llvm/llvm-project/commit/4a8120ca9fb904b50e6940457e0f891ca1fdb605
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M clang/lib/CodeGen/ConstantInitBuilder.cpp

  Log Message:
  -----------
  Fix ConstantAggregateBuilderBase::getRelativeOffset

Summary:
If a record has a mix of relative pointers and other fields they
wouldn't necessarily be the same.

Fallout from D77592.

rdar://64309883

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81857




More information about the All-commits mailing list