search for: getstructname

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

2013 Sep 22
1
[LLVMdev] DebugIR pass fails with an assert
...R/Type.cpp", line=581, function=0x7fffef589380 "llvm::StringRef llvm::StructType::getName() const") at assert.c:103 #4 0x00007fffef4e1755 in llvm::StructType::getName (this=0x6562c0) at /home/kolkhovskiy/3rdparty/llvm/lib/IR/Type.cpp:581 #5 0x00007fffef4e0030 in llvm::Type::getStructName (this=0x6562c0) at /home/kolkhovskiy/3rdparty/llvm/lib/IR/Type.cpp:195 #6 0x00007ffff2ec85b9 in (anonymous namespace)::DIUpdater::getOrCreateType (this=0x7fffffffd530, T=0x6562c0) at /home/kolkhovskiy/3rdparty/llvm/lib/Transforms/Instrumentation/DebugIR.cpp:387 #7 0x00007ffff2ec8a1d in (a...
2015 Apr 15
2
[LLVMdev] where is type symbol table now
Hello, I found some source code using llvm 2.5 that has a call to Module::getTypeName(Type*), which I can't find it anymore in llvm newer than 3.3, so how can I get the name of a type(e.g a user-defined structure) if we have Type* of that ? Besides, I checked that old llvm maintains a TypeSymbolTable that enabled type name look-up, so what's the replacement and mechanism of it in the