Displaying 2 results from an estimated 2 matches for "assignpass".
2010 Dec 12
2
[LLVMdev] Optimized "opt" on Darwin fails to load dynamic libraries with passes
...BLE_OPTIMIZED=1, the "opt" tool
fails to load LLVM passes in dynamic libraries (.dylib) files, regardless of
how they themselves were built. When opt is built with ENABLE_OPTIMIZED=0,
all is well.
Here is some informative output. Seems to me the problem is in stripping the
symbols of the assignPassManager virtual method from the various subclasses
of llvm::Pass.
Please advise!
// the release version has all the necessary symbols in place before it is
installed to /usr/local/bin
$ nm -m Release+Asserts/bin/opt | grep assignPass
000000010042b7c0 (__TEXT,__text) external
__ZN4llvm10ModulePass...
2010 Dec 12
0
[LLVMdev] Optimized "opt" on Darwin fails to load dynamic libraries with passes
...t" tool
> fails to load LLVM passes in dynamic libraries (.dylib) files, regardless of
> how they themselves were built. When opt is built with ENABLE_OPTIMIZED=0,
> all is well.
>
> Here is some informative output. Seems to me the problem is in stripping
> the symbols of the assignPassManager virtual method from the various
> subclasses of llvm::Pass.
>
> Please advise!
>
>
> // the release version has all the necessary symbols in place before it is
> installed to /usr/local/bin
> $ nm -m Release+Asserts/bin/opt | grep assignPass
> 000000010042b7c0 (__T...