azat marked an inline comment as done.
azat added a comment.

> The message is outdated now.

Actually even before it does not check that `.debug_aranges` had been emitted.

> This just checks how -gdwarf-aranges ias passed to the compiler and linker.

I've improved the test (though maybe `Address Range Header` match requires 
regex?)



================
Comment at: clang/test/Driver/debug-options-aranges.c:3
+
+// RUN: %clang -### -target x86_64-unknown-linux -c -gdwarf-aranges %s 2>&1 | 
FileCheck -check-prefix=GARANGE %s
+// RUN: %clang -### -target x86_64-unknown-linux -flto -gdwarf-aranges %s 2>&1 
| FileCheck -check-prefix=PLUGIN_GARANGE %s
----------------
MaskRay wrote:
> `--target=x86_64`
> error: 'x86_64': unable to pass LLVM bit-code files to linker


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133875

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to