Skip to content
Advertisement

Tag: x86-64

Generate LLVM C++ API code as backend

The Online LLVM demo page had an option to generate LLVM C++ API code as backend from a source code. However, that demo page is now disabled. I was wondering how we can do it ourselves using the available LLVM tools. I tried the following which gives the following error I am using LLVM/Clang version 3.2. Answer The LLVM C++

Is there any profiler that works with -fomit-frame-pointer on x86_64?

SysProf doesn’t properly generate call stack without it, GProf isn’t accurate at all. And also, are profilers that work without -fno-omit-frame-pointer as accurate as those that rely on it? Answer There are none that I’m aware of. With frame pointers, walking a stack is a fairly simple exercise. You simply dereference the frame pointer to find the old frame pointer,

Advertisement