[PATCH] D156363: [Driver] -###: exit with code 1 if hasErrorOccurred

Zixuan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 9 01:04:30 PDT 2023


zixuan-wu added inline comments.


================
Comment at: clang/test/Driver/debug-options.c:245
 //
 // RUN: %clang -### -c -gsplit-dwarf -g -gno-pubnames %s 2>&1 | FileCheck -check-prefix=NOPUB %s
 //
----------------
Here should add not or specify the target with x86 because it fails when only RV target is compiled.

```
clang: error: -gsplit-dwarf is unsupported with RISC-V linker relaxation (-mrelax)
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156363



More information about the cfe-commits mailing list