[PATCH] D51590: [MinGW] Move code for indicating "potentially not DSO local" into shouldAssumeDSOLocal. NFCI.

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 3 05:48:55 PDT 2018


mstorsjo created this revision.
mstorsjo added reviewers: rnk, efriedma, t.p.northover.
Herald added a reviewer: javed.absar.
Herald added a subscriber: kristof.beyls.

On Windows, if shouldAssumeDSOLocal returns false, it's either a dllimport reference, or a reference that we should treat as non-local and create a stub for.

Clean up AArch64Subtarget::ClassifyGlobalReference a little while touching the flag handling relating to dllimport.

This goes on top of https://reviews.llvm.org/D51452.


Repository:
  rL LLVM

https://reviews.llvm.org/D51590

Files:
  lib/Target/AArch64/AArch64Subtarget.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/TargetMachine.cpp
  lib/Target/X86/X86Subtarget.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51590.163702.patch
Type: text/x-patch
Size: 4457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180903/dccf1521/attachment.bin>


More information about the llvm-commits mailing list