<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Unfortunately I did that and it didnt fix it until i edited that dfsan and common interfaces file to include the typedefs<div><br><div id="AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On Jun 9, 2019, at 17:47, Doerfert, Johannes <<a href="mailto:jdoerfert@anl.gov">jdoerfert@anl.gov</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
What about including stdint.h before the sanitizer header? It seems the example is missing something either way.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="OutlookSignature">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Get <a href="https://aka.ms/ghei36">Outlook for Android</a></div>
</span><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Alex Trebek <<a href="mailto:alexquebec23@gmail.com">alexquebec23@gmail.com</a>><br>
<b>Sent:</b> Sunday, June 9, 2019 5:41:59 PM<br>
<b>To:</b> Doerfert, Johannes<br>
<b>Cc:</b> Steven Truppe; LLVM Developers Mailing List<br>
<b>Subject:</b> Re: [llvm-dev] Question about the mailing list.</font>
<div> </div>
</div>
<div>
<div dir="ltr">I'm trying to build the example C++ file on the DFSan sanitizer page:
<div><a href="https://clang.llvm.org/docs/DataFlowSanitizer.html">https://clang.llvm.org/docs/DataFlowSanitizer.html</a> </div>
<div><br>
</div>
<div>However, i'ts complaining about unknown types (intptr_t, uint16_t, uint32_t, uint64_t).<br>
</div>
<div>I got it to build after adding typedefs from stdint.h and sys/types.h to the sanitizer/common_interface_defs.h header file:</div>
<div>typedef __intptr_t intptr_t;<br>
typedef u_int16_t uint16_t;<br>
typedef u_int32_t uint32_t;<br>
typedef u_int64_t uint64_t;<br>
</div>
<div><br>
</div>
<div>However, something about that seems so WRONG that something else must be going on also and I'd like to get to the bottom of this so we have a working DFSan example (and so I can use it :D)</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Jun 9, 2019 at 2:58 PM Doerfert, Johannes via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
It depends on what kind of user questions you have, but llvm-dev and cfe-dev might actually be the right lists.<br>
Even if not, people can redirect you better once they see the questions :)<br>
<br>
Btw. You can also try the llvm IRC channel.<br>
<br>
Cheers,<br>
Johannes<br>
<br>
________________________________________<br>
From: llvm-dev <<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank">llvm-dev-bounces@lists.llvm.org</a>> on behalf of Steven Truppe via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>><br>
Sent: Sunday, June 9, 2019 05:42<br>
To: LLVM Developers Mailing List<br>
Subject: [llvm-dev] Question about the mailing list.<br>
<br>
Hello everyone,<br>
<br>
i'm not able to find the llvm mailing list for user questions, can you<br>
help me finding it please ?<br>
<br>
also the clang mailing list can't be found (only llvm-dev and clang-dev).<br>
<br>
<br>
best regards!<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
</div>
</div></blockquote></div></body></html>