[M3commit] [modula3/cm3] 1052a2: Put constructed name for gobal constant segment in...

Rodney Bates rodney.m.bates at acm.org
Mon Nov 9 04:19:01 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 1052a2e942eefebc4a813183ed41235eccf8a15e
      https://github.com/modula3/cm3/commit/1052a2e942eefebc4a813183ed41235eccf8a15e
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2015-11-08 (Sun, 08 Nov 2015)

  Changed paths:
    M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3

  Log Message:
  -----------
  Put constructed name for gobal constant segment in its global variable.

The global constant segment comes from the front end with no name,
in the declare_segment operator.

M3CG_LLVM was already concocting a name for it ("M_Const"), but
not storing it in the variable for the segment, leading to a NIL
segfault later, when handling the end_init operator, in DebugGlobals,
while calling M3DIB.DIBcreateGlobalVariable.




More information about the M3commit mailing list