[PATCH] D125847: LTO: Decide upfront whether to use opaque/non-opaque pointer types

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 31 03:06:31 PDT 2022


nikic accepted this revision.
nikic added a comment.

LGTM



================
Comment at: clang/test/CodeGen/thinlto-inline-asm2.c:5
+// RUN: %clang_cc1 -opaque-pointers -triple x86_64-unknown-linux-gnu -flto=thin -emit-llvm-bc %t/a.c -o %t/a.bc
+// RUN: %clang_cc1 -opaque-pointers -triple x86_64-unknown-linux-gnu -flto=thin -emit-llvm-bc %t/b.c -o %t/b.bc
 // RUN: llvm-nm %t/a.bc | FileCheck %s --check-prefix=NM
----------------
I don't think this is needed for cc1 invocations (they should always default to opaque pointers).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125847/new/

https://reviews.llvm.org/D125847



More information about the cfe-commits mailing list