We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92d3ad commit 959fe03Copy full SHA for 959fe03
debuginfo-tests/apple-accel.cpp
@@ -8,6 +8,9 @@
8
// RUN: %clang %s %target_itanium_abi_host_triple -gdwarf-4 -O0 -c -g -o %t-ex
9
// RUN: llvm-objdump -section-headers %t-ex | FileCheck %s
10
11
+// A function in a different section forces the compiler to create the
12
+// __debug_ranges section.
13
+__attribute__((section("1,__text_foo"))) void foo() {}
14
int main (int argc, char const *argv[]) { return argc; }
15
16
// CHECK: __debug_str
0 commit comments