]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Two part patch:
authorEric Christopher <echristo@gmail.com>
Fri, 7 Mar 2014 22:40:37 +0000 (22:40 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 7 Mar 2014 22:40:37 +0000 (22:40 +0000)
commit096eaf857e5be2648cae2c4254b0da52ff83d1c3
treeb82383a40f79e35e69052eff6f3ec1582943205e
parenta8d9fe22489601689d3757a6c9f4eadfeba729c7
Two part patch:

First: refactor out the emission of entries into the .debug_loc section
into its own routine.

Second: add a new class ByteStreamer that can be used to either emit
using an AsmPrinter or hash using DIEHash the series of bytes that
would be emitted. Use this in all of the location emission routines
for the .debug_loc section.

No functional change intended outside of a few additional comments
in verbose assembly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203304 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h