[all-commits] [llvm/llvm-project] 541ea2: [gn build] (manually) port 18b4a8bcf35 more
Cole Kissane via All-commits
all-commits at lists.llvm.org
Tue Oct 4 02:30:30 PDT 2022
Branch: refs/heads/release/15.x
Home: https://github.com/llvm/llvm-project
Commit: 541ea23a58e756fc381e3513f31fb6c92a5280a8
https://github.com/llvm/llvm-project/commit/541ea23a58e756fc381e3513f31fb6c92a5280a8
Author: Nico Weber <thakis at chromium.org>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/misc/BUILD.gn
Log Message:
-----------
[gn build] (manually) port 18b4a8bcf35 more
(cherry picked from commit dd428a571c69621d5b6eb2e0e3ce5497c304fb2c)
Commit: 67ac047d7f465e10f3d5e9678b458d8b0dbbbd9a
https://github.com/llvm/llvm-project/commit/67ac047d7f465e10f3d5e9678b458d8b0dbbbd9a
Author: Yonghong Song <yhs at fb.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M clang/lib/CodeGen/CGStmt.cpp
A clang/test/CodeGen/debug-info-enum-case-val.c
Log Message:
-----------
[clang][DebugInfo] Emit debuginfo for non-constant case value
Currently, clang does not emit debuginfo for the switch stmt
case value if it is an enum value. For example,
$ cat test.c
enum { AA = 1, BB = 2 };
int func1(int a) {
switch(a) {
case AA: return 10;
case BB: return 11;
default: break;
}
return 0;
}
$ llvm-dwarfdump test.o | grep AA
$
Note that gcc does emit debuginfo for the same test case.
This patch added such a support with similar implementation
to CodeGenFunction::EmitDeclRefExprDbgValue(). With this patch,
$ clang -g -c test.c
$ llvm-dwarfdump test.o | grep AA
DW_AT_name ("AA")
$
Differential Revision: https://reviews.llvm.org/D134705
(cherry picked from commit 75be0482a2e2a78fae83f1ca604f4ee20d673796)
Commit: 55d4d86e388514f8ff5872e08f0d1e5d6865acdb
https://github.com/llvm/llvm-project/commit/55d4d86e388514f8ff5872e08f0d1e5d6865acdb
Author: Cole Kissane <cole.kissane at gmail.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M llvm/CMakeLists.txt
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/lib/Support/CMakeLists.txt
M llvm/tools/llvm-config/CMakeLists.txt
Log Message:
-----------
tweak zstd behavior in cmake and llvm config for better testing
add LLVM_PREFER_STATIC_ZSTD (default TRUE) cmake config flag
(compression test seems to fail for shared zstd on windows, note that zstd multithread is by default disabled in the static build so it may be a hidden variable)
propagate variable zstd_DIR in LLVMConfig.cmake.in
fix llvm-config CMakeLists.txt behavior for absolute libs windows
get zstd lib name
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D132870
(cherry picked from commit c0b4f248df79f184adba856f13a950a53c881f3f)
Commit: 4bd3f3759259548e159aeba5c76efb9a0864e6fa
https://github.com/llvm/llvm-project/commit/4bd3f3759259548e159aeba5c76efb9a0864e6fa
Author: Cole <cole.kissane at gmail.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M llvm/CMakeLists.txt
M llvm/lib/Support/CMakeLists.txt
Log Message:
-----------
use LLVM_USE_STATIC_ZSTD
removes LLVM_PREFER_STATIC_ZSTD in favor of using a LLVM_USE_STATIC_ZSTD
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D133222
(cherry picked from commit fc1da043f4f9198303abd6f643cf23439115ce73)
Compare: https://github.com/llvm/llvm-project/compare/5f620d003fda...4bd3f3759259
More information about the All-commits
mailing list