search for: allocatorinfo

Displaying 2 results from an estimated 2 matches for "allocatorinfo".

2015 Jun 21
2
[LLVMdev] getAnalysis<DataLayout>() Causing Compilation Error
I’m debugging SAFECode source code files, and in AllocatorInfo.cpp, in the function getObjectSize(Value* V), the function getAnalysis<DataLayout>() is called. I’ve run into this problem before, and the first time I saw it, my employer recommended I use M.getDataLayout() instead, where M was a reference to a Module. However, in getObjectSize(Value* V),...
2015 Jun 22
2
[LLVMdev] How to Obtain a DataLayout Reference Given a Function & F
...ndCheckLocal.cpp:18: In file included from /Users/peterfinn/Desktop/build/projects/safecode/../../../llvm_trunk_2/projects/safecode/include/safecode/ArrayBoundsCheck.h:17: In file included from /Users/peterfinn/Desktop/build/projects/safecode/../../../llvm_trunk_2/projects/safecode/include/safecode/AllocatorInfo.h:21: In file included from /Users/peterfinn/Desktop/llvm_trunk_2/include/llvm/IR/Module.h:20: In file included from /Users/peterfinn/Desktop/llvm_trunk_2/include/llvm/IR/DataLayout.h:27: In file included from /Users/peterfinn/Desktop/llvm_trunk_2/include/llvm/Pass.h:378: /Users/peterfinn/Desktop/l...