[PATCH] D90507: [Driver] Add DWARF64 flag: -gdwarf64

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 22 15:44:43 PST 2020


MaskRay added inline comments.


================
Comment at: clang/test/Driver/debug-options.c:379
+// VALIDT: x86_64
+// RUN: %clang -### -c -gdwarf-5 -gdwarf64 -target VALIDT %s 2>&1 | FileCheck -check-prefix=GDWARF64_ON %s
+// RUN: %clang -### -c -gdwarf-4 -gdwarf64 -target VALIDT %s 2>&1 | FileCheck -check-prefix=GDWARF64_ON %s
----------------
> // VALIDT: x86_64

lit does not replace `VALIDT` with `x86_64`. Do you just want to test `-target x86_64`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90507/new/

https://reviews.llvm.org/D90507



More information about the cfe-commits mailing list