CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
72 lines
3.2 KiB
C++
72 lines
3.2 KiB
C++
// REQUIRES: diasdk, target-windows
|
|
|
|
// Test plugin.symbol-file.pdb.reader setting
|
|
// RUN: %build -o %t.exe -- %s
|
|
// RUN: env -u LLDB_USE_NATIVE_PDB_READER %lldb %t.exe -o 'target modules dump symfile' 2>&1 | FileCheck --check-prefix=NO-ENV %s
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER= %lldb %t.exe -o 'target modules dump symfile' 2>&1 | FileCheck --check-prefix=NO-ENV %s
|
|
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=0 %lldb %t.exe -o 'target modules dump symfile' 2>&1 | FileCheck --check-prefix=ENV0 %s
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb %t.exe -o 'target modules dump symfile' 2>&1 | FileCheck --check-prefix=ENV1 %s
|
|
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=foo %lldb %t.exe -o 'target modules dump symfile' 2>&1 | FileCheck --check-prefix=ENV1 %s
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=42 %lldb %t.exe -o 'target modules dump symfile' 2>&1 | FileCheck --check-prefix=ENV1 %s
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=-1 %lldb %t.exe -o 'target modules dump symfile' 2>&1 | FileCheck --check-prefix=ENV1 %s
|
|
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=0 %lldb \
|
|
// RUN: -o 'settings set plugin.symbol-file.pdb.reader dia' \
|
|
// RUN: -o 'target create %t.exe' \
|
|
// RUN: -o 'target modules dump symfile' \
|
|
// RUN: 2>&1 | FileCheck --check-prefix=ENV0-SET-DIA %s
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb \
|
|
// RUN: -o 'settings set plugin.symbol-file.pdb.reader dia' \
|
|
// RUN: -o 'target create %t.exe' \
|
|
// RUN: -o 'target modules dump symfile' \
|
|
// RUN: 2>&1 | FileCheck --check-prefix=ENV1-SET-DIA %s
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=0 %lldb \
|
|
// RUN: -o 'settings set plugin.symbol-file.pdb.reader native' \
|
|
// RUN: -o 'target create %t.exe' \
|
|
// RUN: -o 'target modules dump symfile' \
|
|
// RUN: 2>&1 | FileCheck --check-prefix=ENV0-SET-NATIVE %s
|
|
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb \
|
|
// RUN: -o 'settings set plugin.symbol-file.pdb.reader native' \
|
|
// RUN: -o 'target create %t.exe' \
|
|
// RUN: -o 'target modules dump symfile' \
|
|
// RUN: 2>&1 | FileCheck --check-prefix=ENV1-SET-NATIVE %s
|
|
|
|
// NO-ENV-NOT: warning:
|
|
// NO-ENV: (lldb) target modules dump symfile
|
|
// NO-ENV: Dumping debug symbols for 1 modules.
|
|
// NO-ENV: SymbolFile native-pdb
|
|
|
|
// ENV0-NOT: warning:
|
|
// ENV0: (lldb) target modules dump symfile
|
|
// ENV0: Dumping debug symbols for 1 modules.
|
|
// ENV0: SymbolFile pdb
|
|
|
|
// ENV1-NOT: warning:
|
|
// ENV1: (lldb) target modules dump symfile
|
|
// ENV1: Dumping debug symbols for 1 modules.
|
|
// ENV1: SymbolFile native-pdb
|
|
|
|
// ENV0-SET-DIA-NOT: warning:
|
|
// ENV0-SET-DIA: (lldb) target modules dump symfile
|
|
// ENV0-SET-DIA: Dumping debug symbols for 1 modules.
|
|
// ENV0-SET-DIA: SymbolFile pdb
|
|
|
|
// ENV1-SET-DIA-NOT: warning:
|
|
// ENV1-SET-DIA: (lldb) target modules dump symfile
|
|
// ENV1-SET-DIA: Dumping debug symbols for 1 modules.
|
|
// ENV1-SET-DIA: SymbolFile pdb
|
|
|
|
// ENV0-SET-NATIVE-NOT: warning:
|
|
// ENV0-SET-NATIVE: (lldb) target modules dump symfile
|
|
// ENV0-SET-NATIVE: Dumping debug symbols for 1 modules.
|
|
// ENV0-SET-NATIVE: SymbolFile native-pdb
|
|
|
|
// ENV1-SET-NATIVE-NOT: warning:
|
|
// ENV1-SET-NATIVE: (lldb) target modules dump symfile
|
|
// ENV1-SET-NATIVE: Dumping debug symbols for 1 modules.
|
|
// ENV1-SET-NATIVE: SymbolFile native-pdb
|
|
|
|
int main() {}
|