mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-17 19:36:48 +00:00

This allows the option to affect the LTO output. Module::Max helps to generate debug info for all modules in the same format. Differential Revision: https://reviews.llvm.org/D96597
14 lines
482 B
C
14 lines
482 B
C
// RUN: %clang -target x86_64-linux-gnu -g -S -emit-llvm -o - %s | \
|
|
// RUN: FileCheck %s --check-prefix=NODWARF64
|
|
// RUN: %clang -target x86_64-linux-gnu -g -gdwarf64 -S -emit-llvm -o - %s | \
|
|
// RUN: FileCheck %s --check-prefix=DWARF64
|
|
// RUN: %clang -target x86_64-linux-gnu -g -gdwarf64 -gdwarf32 -S -emit-llvm -o - %s | \
|
|
// RUN: FileCheck %s --check-prefix=NODWARF64
|
|
|
|
// DWARF64: !{i32 7, !"DWARF64", i32 1}
|
|
// NODWARF64-NOT: !"DWARF64"
|
|
|
|
int main (void) {
|
|
return 0;
|
|
}
|