search for: inline_function

Displaying 2 results from an estimated 2 matches for "inline_function".

2019 Jan 01
4
LLVM IR linking separate function definitions in header files in single IR
Hello, I have different codes with separate files with functions implemented. I want to view all function definitions/ instructions in single IR. I am able to do this by llvm-link for codes which have definition implemented in .c files... But there are some codes which have definitions instructions in header files. These functions are called from .c file. I want to have a single IR with all the
2019 Jan 06
2
LLVM IR linking separate function definitions in header files in single IR
...of "header" in C/C++: moving code from >>> a .c to a .h (or renaming a file) does not change anything to what the >>> compiler will do with it. >>> >>> Depending on the language (GNU-C89, C99 vs C++, see here: >>> https://en.wikipedia.org/wiki/Inline_function ), the semantic of inline >>> functions is different. >>> If you can provide an minimal example it would be easier. >>> >>> Best, >>> >>> -- >>> Mehdi >>> >>> -------------- next part -------------- An HTML attachment...