Relative Content

Tag Archive for llvm

How to use `llvm-symbolizer –filter-markup`?

llvm-symbolizer has a useful looking --filter-markup feature that supposedly will let you pipe a file through it containing markup like {{pc:0x20000}} and it will convert that to a symbol, file and line number.

How to use `llvm-symbolizer –filter-markup`?

llvm-symbolizer has a useful looking --filter-markup feature that supposedly will let you pipe a file through it containing markup like {{pc:0x20000}} and it will convert that to a symbol, file and line number.

What is the lifetimes on llvm::Type* instances?

I’m working with LLVM, and I’m wondering what the lifetimes are of the pointers. I can see that in the headers, they are heap allocated, but at what point are they added to the free list? Are they ever freed, do I get ownership and need to free them myself? Are they supposed to have a lifetime that is the same as the program? Are the automatically dealt with in the llvm::Module instance?