[PATCH] D36487: Emit section information for extern variables.
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 8 14:11:48 PDT 2017
efriedma added a comment.
Please propose a patch for LangRef clarifying what exactly it means to have a section attribute on a declaration.
================
Comment at: test/CodeGenCXX/extern-section-attribute.cpp:1
+// RUN: %clang_cc1 -emit-llvm %s -o - -ffreestanding -triple=i386-pc-linux-gnu | FileCheck %s --check-prefix=CHECK-LIN
+// RUN: %clang_cc1 -emit-llvm %s -o - -ffreestanding -triple=x86_64-pc-linux-gnu | FileCheck %s --check-prefix=CHECK-LIN
----------------
Not sure it really adds anything to run this with four different RUN lines.
https://reviews.llvm.org/D36487
More information about the cfe-commits
mailing list