diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-01-23 16:11:15 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-01-23 16:11:15 +0000 |
commit | d0820433b16c3d8d3a044fcec66e957e883e6a4e (patch) | |
tree | 820619e47098fad6c00da62c1f8f380300386668 /clang/unittests/Format/FormatTestJava.cpp | |
parent | e642231bfc6446c2811a31c1a3a9a93bf71ff4ac (diff) | |
download | llvm-d0820433b16c3d8d3a044fcec66e957e883e6a4e.zip llvm-d0820433b16c3d8d3a044fcec66e957e883e6a4e.tar.gz llvm-d0820433b16c3d8d3a044fcec66e957e883e6a4e.tar.bz2 |
Verifier: fix bug treating debug info issue as non-debug info issue
Normally when llvm-as sees only debug info errors in LLVM assembly, it simply
drops the debug info and outputs a valid LLVM bitcode and returns 0.
There is a bug in LLVM verifier which incorrectly treats a debug info error
as non-debug info error, which causes llvm-as returns 1 even though llvm-as
can drop the invalid debug info and outputs a valid LLVM bitcode.
This patch fixes that.
Differential Revision: https://reviews.llvm.org/D42391
llvm-svn: 323216
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions