[llvm-dev] opt: undefined symbol: _ZN4llvm9DebugFlagE

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 30 10:02:12 PDT 2015


On 10/30/2015 11:01 AM, Irini via llvm-dev wrote:
>
> I try to run my pass by executing:
>      opt -load ../../../Release+Asserts/lib/MyPass.so -MyPassName
>
> But I get this error:
>
> Error opening '../../../Release+Asserts/lib/MyPass.so':
> ../../../Release+Asserts/lib/MyPass.so: undefined symbol:
> _ZN4llvm9DebugFlagE
>    -load request ignored.
> opt: Unknown command line argument '-MyPassName'. Try: 'opt -help'

Is your "opt" built with NDEBUG?

-Krzysztof


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list