aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorAndrew Wilkins <axwalk@gmail.com>2016-03-23 23:09:00 +0000
committerAndrew Wilkins <axwalk@gmail.com>2016-03-23 23:09:00 +0000
commit0f432aa05a4c32ab818f2e4cfc5ad2a5a8093c56 (patch)
treeaa9c3579146aacf4901e235ed6c7b945757f81f3 /llvm/lib/Support/ErrorHandling.cpp
parentdde29407c4bc82e9e03381b44788ddc2beb6e4ac (diff)
downloadllvm-0f432aa05a4c32ab818f2e4cfc5ad2a5a8093c56.zip
llvm-0f432aa05a4c32ab818f2e4cfc5ad2a5a8093c56.tar.gz
llvm-0f432aa05a4c32ab818f2e4cfc5ad2a5a8093c56.tar.bz2
[llgo] Increment "Debug Info Version"
Patch by Michal Cierniak! This patch increments the "Debug Info Version" from 2 to 3. This is a nop if you just want to generate binaries. I verified that with and without this patch, when I run llgo -g on a Go source file, I get exactly the same binary. The purpose of the patch is to make it possible to run the llvm-dis tool. Without the patch, it is impossible to disassemble files generated with llgo: $ llgo -c -g -emit-llvm src/hello.go $ llvm-dis hello.o llvm-dis: warning: ignoring debug info with an invalid version (2) in hello.o Differential Revision: http://reviews.llvm.org/D18355 llvm-svn: 264212
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions