microsoft / cpp-build-insights-samples Goto Github PK
View Code? Open in Web Editor NEWCode samples for the C++ Build Insights SDK
License: MIT License
Code samples for the C++ Build Insights SDK
License: MIT License
Hi! I was working on some of the samples and realized that there was a strange formatting error on LongModuleFinder
LongModuleFinder output:
The formatting issue can be seen on the right where the 2 from CL Invocation has no space between itself and Duration
Looking at the code, I see no reason why it should be formatting strangely since there are two tab escapes:
Note: similar code can be found in the other analyzers as seen below (outputs in terminal as expected)
cpp-build-insights-samples/LongHeaderUnitFinder/main.cpp
Lines 94 to 99 in 662a4fb
cpp-build-insights-samples/LongPrecompiledHeaderFinder/main.cpp
Lines 94 to 99 in 662a4fb
Exception thrown at 0x00007FFB309F3A22 (CppBuildInsights.dll) in TopHeaders.exe: 0xC0000005: Access violation reading location 0x0000000000000000. occurred
It appears to be triggered after all calls to OnStopFile (I think). I'm going to try to hack around it with some SEH in the meantime.
Call stacks are not consistent when getting this error - maybe uninitialized memory? Example from TopHeaders release build
CppBuildInsights.dll!00007ffb48163a22() Unknown
CppBuildInsights.dll!00007ffb48164874() Unknown
CppBuildInsights.dll!00007ffb48178119() Unknown
CppBuildInsights.dll!00007ffb4817c7d2() Unknown
CppBuildInsights.dll!00007ffb4817a0ed() Unknown
[Inline Frame] TopHeaders.exe!Microsoft::Cpp::BuildInsights::Analyze(const char *) Line 3376 C++
TopHeaders.exe!main(int argc, char * * argv) Line 171 C++
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.