[PATCH] [LayoutPass] Add a method to check the followon graph structure.

Rui Ueyama ruiu at google.com
Wed Jun 5 15:04:53 PDT 2013


Hi shankarke,

I found that having a method to check the strucutre of the followon graph makes
it easy to debug file readers. The method checks if there's no wrong edge in
followOnNexts and followOnRoots. It is called only when debuggging is enabled
for LayoutPass. Do you agree this new code worth to be added?

http://llvm-reviews.chandlerc.com/D922

Files:
  include/lld/Core/Atom.h
  include/lld/Passes/LayoutPass.h
  lib/Passes/LayoutPass.cpp
  lib/ReaderWriter/ELF/Atoms.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D922.1.patch
Type: text/x-patch
Size: 6913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130605/ee91be89/attachment.bin>


More information about the llvm-commits mailing list