[all-commits] [llvm/llvm-project] a0a253: [RuntimeDyld][Windows] Allocate space for dllimpor...

Alastair Houghton via All-commits all-commits at lists.llvm.org
Mon Sep 2 02:07:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0a253181e3eb2e7173a37b043b82325c7cddd67
      https://github.com/llvm/llvm-project/commit/a0a253181e3eb2e7173a37b043b82325c7cddd67
  Author: Alastair Houghton <ahoughton at apple.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h

  Log Message:
  -----------
  [RuntimeDyld][Windows] Allocate space for dllimport things. (#102586)

We weren't taking account of the space we require in the stubs for
things that are dllimported, and as a result we could hit the assertion
failure for running out of stub space. Fix that.

rdar://133473673

---------

Co-authored-by: Saleem Abdulrasool <compnerd at compnerd.org>
Co-authored-by: Lang Hames <lhames at gmail.com>
Co-authored-by: Ben Barham <b.n.barham at gmail.com>



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