<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 6/16/16 2:29 PM, via llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:a7ea7ef82493b43691f0d97189c6dc70.squirrel@webmail3.frm.utn.edu.ar"
type="cite">
<pre wrap="">
Hello List,
I've (git) cloned the whole project yesterday, and
cannot find the getGlobalContext method at
LLMContext.cpp
Can anyone help ?</pre>
</blockquote>
<br>
It would not surprise me if the getGlobalContext() function has been
removed.<br>
<br>
If you're writing an LLVM pass, it is better to get a reference to
the LLVMContext by finding the context associated with the Module
that your pass is analyzing or transforming. Many LLVM classes
(Module, Function, BasicBlock, etc.) have a getContext() method that
will return a reference to the LLVMContext to which the object
belongs. You should use these methods to get a reference to the
context.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<blockquote
cite="mid:a7ea7ef82493b43691f0d97189c6dc70.squirrel@webmail3.frm.utn.edu.ar"
type="cite">
<pre wrap="">
Thanks in advanced.
Julio.
_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>