<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylUz1v2zAQ_TXUcoggUbJdDxqcGEE7pIuBDt1I8SyxoUiBpOymv75HyXGbtCkC1JAlku_u3rsPSqeemo_oEXQAAUEPo0EYveu8GFi1Y8WeFTu2Li7PvA3RT22EA7DNLRyNExEE43eS_i2rbul4T5_FVtsIg9AWGP_A-Da5LADQL4HWDV6Yk_DAqj1UV8eEH2ChekaT82-xk8nVIBezSfkGKmeUv4G2M1q_QF8KW1-xpOBvVbnke4QnN0HrhlFTJc869kAmrRG2u2lNjt8Rbk5UjfuHfXofg7A66h9IJEIpjyGk468aIoaYt-OYtg7kpI2i1XyqUE5dCvWKXFgFFwEh4gix927qetBxESJg9uzQU6vA6EeEh8OXOwqr8IT2RA5oF_3CgrPmiVoURqRmEwJUCy0kZUW01vlhrg6tIfFaF9P5taavpH1aZPXuTEz-_fV5fyHShKVwboqwO-w-p2l7kc9zKtItnH-k8A_5mWoqta22IhMTUfim9Q7HXmSTN00f4xjSZeH39HSkYZI5ZUgbY07Pnxu6Vd-In7Y6hAkDLVZVWVZZ32y2Rbkp2rpal-V2K2ouC1nLdqUkx7XiMjNCogkNW90yzi2eYQ5Ba7baZ_-vQDe84Lwoy6L8UK-LVa5EycVxU7XVStXrLWd1gXSNTZ7i5M53mW_mkFT_QKDRIYZfoAhBdxZxFkwKo44Gm9QVCIhDgEiN9CgeL3dwmUvq0NHR2NFUWOXOIZtVNrPEn2GMbzk>53113</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            ASAN seems to break struct debug info on windows
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          croepha
      </td>
    </tr>
</table>

<pre>
    Here is a simple program:
```
struct S { float a,b,c; };
int main () {
    int nomralvar = 3;
    S structvar = {};
    structvar.a = 1;
    structvar.b = 2;
    structvar.c = 4;
    nomralvar = 6;
}
```

if you compile with `clang-cl.exe -v /MD /fsanitize=address /Zi test.cpp /o build/test.debug.exe`

and if you step through it with a debugger, like MSVC/devenv then you can only inspect the variable `normalvar` and not `structvar`

If you however compile with `clang-cl.exe -v /MD /Zi test.cpp /o build/test.debug.exe` (without ASAN) then you can inspect both `normalvar` and `structvar`


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNU01zmzAQ_TVw2QkDkj8PHOx4Mu0hvXimh94WWIMaITGSsJv--q7AcZu06cSDQdLb3ff2Saps81x-IkegPCB41Q-aYHC2ddgncpfkhyTfJav8-kxTH9xYBzhCst7DSVsMgIm4r_hfJ3LPywf-zLHKBOhRGUjEJhHbmDIDwL8IGts71Gd0kMgDyFtixI8wU72gMfmP2jHkFpDhFFK8g1YTKt5B6wldvEJfC1vdsKjgX65c-z3Bsx2htv2g2MmLCh1wSK3RtHe1zugHwd2Z3Xh4PMT3yaNRQf0kJsGmceR9XP6mIJAPWT0McWqhGpVueDStNlSNbSz1hhxNA1cBPtAAoXN2bDtQYRaCMGW25HirQKsngsfj13su29CZzJkTyMz60YA1-pm3yA_Em80IsBcKK-6KaY11_eQOjyHyGhvi-s3TN9I-z7I6e2Em93F_Pm5EPGGxnB0D7I67L_G0vernpZXKzpx_tfAf-WlTymYrt5gGFTSVkQA8Ue8hsCZH-HQ9TrPFTHay7CA3aBp78enodNmFMPh4qcQDPy1rHauMneCJ1ueXzx3fvu-sk6fK-5E8D5ayKGTalWu5WaxptUQUtSDcbjdLuT7lC-RXg1KmGivSvkyW-0QIQxeYSvA4WR5SVYpciLwo8mKzWOXLrMFC4Gkta7lsFqutSBY58WXVWdSRWdemrpwkcUeeQa188L9B9F61hmii4_o4svuurJ2locN0oi4n6b8AdaVZ5Q">