llvm-project/clang/test/Driver/debug-main-file.S
Eric Christopher 45f2e71571 Add support for passing the main file name down to the assembler
for location information.

Part of PR14624

llvm-svn: 170391
2012-12-18 00:31:10 +00:00

13 lines
199 B
ArmAsm

// REQUIRES: clang-driver
// RUN: %clang -### -c -save-temps -integrated-as -g %s 2>&1 \
// RUN: | FileCheck %s
// CHECK: main-file-name
#ifdef(1)
foo:
nop
nop
nop
#endif