[PATCH] D21580: IR: Introduce Module::global_objects().

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 21 17:46:05 PDT 2016


pcc created this revision.
pcc added a reviewer: eugenis.
pcc added a subscriber: llvm-commits.

This is a convenience iterator that allows clients to enumerate the
GlobalObjects within a Module.

Also start using it in a few places where it is obviously the right thing
to use.

http://reviews.llvm.org/D21580

Files:
  include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
  include/llvm/IR/Module.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/ExecutionEngine/ExecutionEngine.cpp
  lib/IR/AsmWriter.cpp
  lib/Transforms/IPO/GlobalDCE.cpp
  test/CodeGen/XCore/linkage.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21580.61473.patch
Type: text/x-patch
Size: 7286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160622/ee541b50/attachment.bin>


More information about the llvm-commits mailing list