[PATCH] D120989: Support debug info for alias variable
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 7 10:49:07 PDT 2022
thakis added a comment.
This breaks tests on mac: https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8817534773179515649/+/u/package_clang/stdout?format=raw
Script:
--
: 'RUN: at line 1'; /opt/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/clang -cc1 -internal-isystem /opt/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/lib/clang/15.0.0/include -nostdsysteminc -emit-llvm -debug-info-kind=limited /opt/s/w/ir/cache/builder/src/third_party/llvm/clang/test/CodeGen/debug-info-alias.c -o - | /opt/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck /opt/s/w/ir/cache/builder/src/third_party/llvm/clang/test/CodeGen/debug-info-alias.c
--
Exit Code: 2
Command Output (stderr):
--
/opt/s/w/ir/cache/builder/src/third_party/llvm/clang/test/CodeGen/debug-info-alias.c:10:27: error: aliases are not supported on darwin
extern int __attribute__((alias("aliased_global"))) __global_alias;
^
/opt/s/w/ir/cache/builder/src/third_party/llvm/clang/test/CodeGen/debug-info-alias.c:14:27: error: aliases are not supported on darwin
extern int __attribute__((alias("aliased_global_2"))) global_alias_2;
^
/opt/s/w/ir/cache/builder/src/third_party/llvm/clang/test/CodeGen/debug-info-alias.c:15:27: error: aliases are not supported on darwin
extern int __attribute__((alias("global_alias_2"))) __global_alias_2_alias;
^
3 errors generated.
FileCheck error: '<stdin>' is empty.
FileCheck command line: /opt/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck /opt/s/w/ir/cache/builder/src/third_party/llvm/clang/test/CodeGen/debug-info-alias.c
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (1):
Clang :: CodeGen/debug-info-alias.c
Probably easiest to pass an explicit triple?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120989/new/
https://reviews.llvm.org/D120989
More information about the cfe-commits
mailing list