[llvm-dev] Status of oprofile support in 3.9.1
Antoine Pitrou via llvm-dev
llvm-dev at lists.llvm.org
Tue Sep 13 04:44:25 PDT 2016
Hello,
I'm trying to build from the release_39 branch with oprofile support
enabled ("cmake -DLLVM_USE_OPROFILE=ON"), and I get the following error:
/home/antoine/llvm/lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp: In member function ‘virtual void {anonymous}::OProfileJITEventListener::NotifyObjectEmitted(const llvm::object::ObjectFile&, const llvm::RuntimeDyld::LoadedObjectInfo&)’:
/home/antoine/llvm/lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp:91:23: error: no match for ‘operator!=’ (operand types are ‘llvm::Expected<llvm::object::SymbolRef::Type>’ and ‘llvm::object::SymbolRef::Type’)
if (Sym.getType() != SymbolRef::ST_Function)
^
/home/antoine/llvm/lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp:91:23: note: candidate: operator!=(int, int) <built-in>
/home/antoine/llvm/lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp:91:23: note: no known conversion for argument 1 from ‘llvm::Expected<llvm::object::SymbolRef::Type>’ to ‘int’
Is oprofile still supported in 3.9.x?
Thanks
Antoine.
More information about the llvm-dev
mailing list