[PATCH] D66760: clang: default to DWARF 4 for FreeBSD 12.0 and later
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 12:17:34 PDT 2019
aprantl added a comment.
Is this testable as a driver test?
================
Comment at: clang/lib/Driver/ToolChains/FreeBSD.cpp:368
+unsigned FreeBSD::GetDefaultDwarfVersion() const {
+ if (getTriple().getOSMAjorVersion() < 12)
+ return 2;
----------------
Is getOSMAjorVersion a typo?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66760/new/
https://reviews.llvm.org/D66760
More information about the llvm-commits
mailing list