Questions tagged [llvm-clang]

Clang is the C language family front-end for the LLVM compiler. (The C language family includes C, C++, Objective-C, and Objective-C++.)

Clang refers to the C language family front-end for the LLVM (originally known as "low level virtual machine") compiler. The C language family consists of C, C++, Objective-C, and Objective-C++.

High-level features of clang include better compile-time performance than gcc, helpful error and warning messages, and a static analyzer to automatically detect software bugs.

1101 questions
-1
votes
1 answer

LLVM - code generation flow

When I went through the LLVM document, There are meanings in some terms that I dont fully understand. Please provide feedbacks if you know any. [Frontend] Source code --> Tokeniser (Token stream) --> Parser ( Parser Action ) Can someone explain…
Sam
  • 4,521
  • 13
  • 46
  • 81
-1
votes
1 answer

Number of load instruction in a program

How to count total number of load instruction on a simple "hello world" program through LLVM ??
Abhinash Jain
  • 169
  • 10
-2
votes
2 answers

Multiply Defined Symbols.. somewhere

I'm using a DSP library called KFR to write some fairly simple command-line programs that perform various operations. Unfortunately, this library requires using the LLVM platform toolset in VS (or alternatively, not using VS) because it isn't…
dmb
  • 7
  • 1
-2
votes
1 answer

Compiling error using llvm clang in iOS (on device,jailbreaken)

how can I fix this error?: https://i.stack.imgur.com/zmZea.jpg I got this error when compiling a simple c++ file but I don't know why When I compile this file with iOS 6.1 sdk it works but I want it to work in iOS sdk 8.1 My iPad:ipad 3 wifi My iOS…
jesus
  • 69
  • 8
-4
votes
1 answer

How to generate output as given below?

I have written the code below. It first checks the user's input, but again it doesn't ask "Enter employee's number code(1,2,3,4,5)" if condition is false. How can I generate output as the below image? #include #include
-6
votes
3 answers

Why does my C++ program crash when I forget the return statement, rather than just returning garbage?

I've started using CLang recently to compile embedded C++ ARM programs. Prior to this I used GCC and C, almost exclusively for embedded work. I've noticed that when I have a method that returns a value, and I forget the return statement, the program…
NXT
  • 1,855
  • 2
  • 18
  • 36
1 2 3
73
74