[M3commit] [modula3/cm3] 4fc1c6: Add MDNodeFwdDec::replaceAllUsesWith(found in Meta...

GitHub noreply at github.com
Sat Feb 27 19:20:33 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 4fc1c6160bbf8150b2b8d6d25e3161a6c83607a6
      https://github.com/modula3/cm3/commit/4fc1c6160bbf8150b2b8d6d25e3161a6c83607a6
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2016-02-27 (Sat, 27 Feb 2016)

  Changed paths:
    M m3-sys/llvmbindings/src/M3DIBuilder.cpp
    M m3-sys/llvmbindings/src/M3DIBuilder.h
    M m3-sys/llvmbindings/src/M3DIBuilder.i3

  Log Message:
  -----------
  Add MDNodeFwdDec::replaceAllUsesWith(found in Metadata.h) to DIBuilder binding.

This is needed to resolve forward declarations of debug nodes,
which we need to create on account of various cycles.

This function eventually, in later versions of llvm, appears in
DIBuilder, but for now, we have to get it from Metadata.h.  I put
the binding in M3DIBuilder.*, because, aside from the above,
it uses types that are already there, and it's only one function.




More information about the M3commit mailing list