Displaying 4 results from an estimated 4 matches for "load_weaver_passes".
2006 Aug 18
2
[LLVMdev] Weird behavior of llvm-ld
...DER_H
#define LOADER_H
#ifdef __cplusplus
#include "llvm/PassManager.h"
using namespace llvm;
#else
typedef struct PassManager PassManager;
#endif
#ifdef __cplusplus
extern "C" {
extern void RunOptimizations(PassManager*,...); /* ANSI C prototypes */
extern PassManager* load_weaver_passes(PassManager*);
}
#endif
#endif
b) c-Loader.c
#include "loader/Loader.h"
void RunOptimizations(PassManager* mgr,...){
load_weaver_passes(mgr);
}
c) Loader.cpp
#include "loader/Loader.h"
#include "matcher/Matcher.h"
#include "reifier/Reifier.h"
PassM...
2006 Aug 16
0
[LLVMdev] Weird behavior of llvm-ld
Hi Bram,
On Wed, 2006-08-16 at 22:41 +0200, Bram Adams wrote:
> Op 16-aug-06, om 18:59 heeft Reid Spencer het volgende geschreven:
> Are there any workarounds (using other LLVM-tools) to link a native
> library with LLVM-bytecode?
Yes. The general approach is to use llvm-as, llvm-dis, opt and llvm-link
to work with the bytecode. You can also use gccld and gccas to run some
canned
2006 Aug 16
2
[LLVMdev] Weird behavior of llvm-ld
Hi,
Op 16-aug-06, om 18:59 heeft Reid Spencer het volgende geschreven:
>> llvm-ld: warning: Supposed library 'SOME_OTHER_LIB' isn't a library.
>
> The -l option is used to link libraries into the resulting executable.
> I'm hoping "SOME_OTHER_LIB" is not the actual name and you're just
> paraphrasing the actual command line. Note that native
2006 Aug 20
0
[LLVMdev] Weird behavior of llvm-ld
...e "llvm/PassManager.h"
> using namespace llvm;
> #else
> typedef struct PassManager PassManager;
> #endif
>
> #ifdef __cplusplus
> extern "C" {
> extern void RunOptimizations(PassManager*,...); /* ANSI C
> prototypes */
> extern PassManager* load_weaver_passes(PassManager*);
> }
> #endif
>
> #endif
>
>
> b) c-Loader.c
>
> #include "loader/Loader.h"
>
> void RunOptimizations(PassManager* mgr,...){
> load_weaver_passes(mgr);
> }
>
>
> c) Loader.cpp
>
> #include "loader/Loader.h&...