CLion Tutorial: Code Coverage

CLion Tutorial: Code Coverage

Operating System: Linux / macOS / Windows Project Format: CMake Management Suite: Run | Manage Coverage Reports Ctrl+Alt+F6 Coverage Settings: Settings Ctrl+Alt+S | Build, Execution, Deployment | Coverage In CLion, you can run CMake applications and tests with code coverage measurement. The code coverage results provide the percentage of code lines executed during runtime and … Read more

Understanding the Differences Between Clang and GCC

The main differences between Clang and GCC are as follows: Clang compiles faster than GCC, including time for preprocessing, syntax analysis, parsing, semantic analysis, and abstract syntax tree generation. Clang uses less memory than GCC. The intermediate products generated by Clang are smaller than those generated by GCC. Clang provides more user-friendly error messages than … Read more

Comprehensive Summary of ARM Basics

Comprehensive Summary of ARM Basics

One ARM Assembly Generally, our computers are X86 architecture machines. Here we use clang to compile our files. Compiling files by ourselves and using IDA to learn alongside makes it easier to understand. Two Some instructions about clang: Using clang to directly compile into an executable file // Compile our file into ARMv5 architecture file … Read more

LLVM Example Practice: Compiling LLVM/Clang on ARM and Writing LLVMPass

LLVM Example Practice: Compiling LLVM/Clang on ARM and Writing LLVMPass

"IT Talk" is a professional IT information and service platform under the Machinery Industry Press, dedicated to helping readers master more professional and practical knowledge and skills in the broad field of IT, quickly enhancing their competitiveness in the workplace. Click the blue WeChat name to quickly follow us! How to Compile LLVM/Clang on ARM … Read more

Is Clang Better Than GCC? Google’s Kernel Developers Build Kernel with Clang

Is Clang Better Than GCC? Google's Kernel Developers Build Kernel with Clang

(Click the public account above to follow quickly) Source: Solidot www.solidot.org/story?sid=54012 If you have good articles to submit, please click → here for details At the Linux Plumbers Conference, Google’s kernel developers Greg Kroah-Hartman and Nick Desaulniers presented the progress of building the kernel with Clang. Desaulniers stated that today’s Android user space is built … Read more

Comparison of C Compilers on Embedded Development Boards

Comparison of C Compilers on Embedded Development Boards

Comparison of C Compilers on Embedded Development Boards Embedded system development has always been a field that is both challenging and fun in the programming world, especially when conducting project practices on development boards like Raspberry Pi. Among them, choosing a suitable C compiler is one of the important decisions every developer must make before … Read more