[LLVMdev] Extracting type information from header files
Samuel Crow
samuraileumas at yahoo.com
Wed Mar 3 13:14:21 PST 2010
Hello Vitaly,
Clang supports LLVM Bitcode formatted precompiled headers if that is what you are looking for. LLVM-GCC might be a different story though. Also note that these headers will be different from one operating system to the next. If you're looking for something portable, test out my wrapper at http://sourceforge.net/projects/llvmlibc/ in the SVN repo.
--Sam
----- Original Message ----
> From: Chipounov Vitaly <vitaly.chipounov at epfl.ch>
> To: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
> Sent: Wed, March 3, 2010 2:46:41 PM
> Subject: [LLVMdev] Extracting type information from header files
>
> Hi,
>
> I would like to generate an LLVM bitcode file that contains all the types and
> functions declared in a header file.
> For example, the following code should make the llvm compiler put all type
> information contained in stdio.h in the resulting bitcode file.
>
(snip)
> Is there a command line switch to include all type information, even for unused
> types?
>
> Thanks for your help.
>
> Vitaly C.
More information about the llvm-dev
mailing list