[Lldb-commits] [PATCH] [compiler-rt] ASan debugging API for report info extraction and locating addresses
    Duncan P. N. Exon Smith 
    dexonsmith at apple.com
       
    Wed Jul 16 15:11:06 PDT 2014
    
    
  
> On 2014-Jul-16, at 14:54, Kuba Brecka <kuba.brecka at gmail.com> wrote:
> 
> ================
> Comment at: lib/asan/asan_report.cc:35
> @@ +34,3 @@
> +struct ReportData {
> +  bool already_happened = 0;
> +  uptr pc = 0;
> ----------------
> Alexey Samsonov wrote:
>> I believe this wouldn't compile on Windows :-/
> I don't have a Windows box nearby, would it be because of the member initialization or because of assignment of zero into a bool?
> 
> http://reviews.llvm.org/D4527
I don't think member initialization is supported on MSVC.
In general, you can check the coding standards [1] for supported C++11
features [2].
[1]: http://llvm.org/docs/CodingStandards.html
[2]: http://llvm.org/docs/CodingStandards.html#supported-c-11-language-and-library-features
    
    
More information about the lldb-commits
mailing list