[llvm-commits] Implement the GET_CALLER_PC macro, stub the GET_CURRENT_FRAME macro (issue 5630065)

Kostya Serebryany kcc at google.com
Tue Feb 7 09:36:12 PST 2012


On Tue, Feb 7, 2012 at 4:51 AM, <timurrrr at google.com> wrote:

>
> http://codereview.appspot.com/**5630065/diff/1/lib/asan/asan_**internal.h<http://codereview.appspot.com/5630065/diff/1/lib/asan/asan_internal.h>
> File lib/asan/asan_internal.h (right):
>
> http://codereview.appspot.com/**5630065/diff/1/lib/asan/asan_**
> internal.h#newcode24<http://codereview.appspot.com/5630065/diff/1/lib/asan/asan_internal.h#newcode24>
> lib/asan/asan_internal.h:24: # include <intrin.h>
> On 2012/02/06 19:18:31, kcc wrote:
>
>> Can we avoid this include in the header?
>> ( I am not sure we can, just asking)
>>
> I doubt so.
> Or we'll need to #include it in every file which uses GET_CURRENT_PC or
> GET_BP_PC_SP.
>

Maybe you can find how this thing is defined in intrin.h and use similar
definition?


--kcc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120207/7a53ab1d/attachment.html>


More information about the llvm-commits mailing list