]> granicus.if.org Git - clang/commit
cc1as: Don't crash when CIE is requested and no DWARF version is specified.
authorAdrian Prantl <aprantl@apple.com>
Tue, 19 Apr 2016 20:31:19 +0000 (20:31 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 19 Apr 2016 20:31:19 +0000 (20:31 +0000)
commit99fb8a4a1fbb18b0031f22e5d8aa320a37c0acbb
treee8d0941b9c93bcf3b69c971616906f53cece7f88
parentfa8ab2562a582a60fb7dff9d873b65d84ab864f4
cc1as: Don't crash when CIE is requested and no DWARF version is specified.
This patch changes the default DWARF version for cc1as from invalid 0 to 2,
which should be the lowest common denominator on all platforms.

rdar://problem/24735813

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266814 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/as-dwarf-cie.s [new file with mode: 0644]
tools/driver/cc1as_main.cpp