Make LLVM inline a function from a library
        Posted  
        
            by capitrane
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by capitrane
        
        
        
        Published on 2010-04-23T21:05:29Z
        Indexed on 
            2010/04/25
            13:53 UTC
        
        
        Read the original article
        Hit count: 274
        
I am trying to make LLVM inline a function from a library. I have LLVM bitcode files (manually generated) that I linked together with llvm-link, I also have a library (written in C) compiled into bitcode by clang and archived with llvm-ar. I manage to link everything together and to execute but i can't manage to get LLVM to inline a function from the library. Any clue about how this should be done?
© Stack Overflow or respective owner