swr/rast: Initial work for debugging support.
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 21:46:59 +0000 (15:46 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 22:52:22 +0000 (16:52 -0600)
commit01ab218bbc5c8058a99077a6bc3dc9884e9d218a
treea4421d8bbb00a2921f5a12ec74c793c7aae28234
parent4660e131527d2aff879d5b5bda7cf3e9635e796b
swr/rast: Initial work for debugging support.

Adds ability to step into jitted llvm IR in Visual Studio.
- Updated llvm type generation script to also generate corresponding debug types.
- New module pass inserts debug metadata into the IR for each function

Disabled by default.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_types.py
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp