[PATCH] D153906: [clang] Allow disassembly of multi-module bitcode files
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 10 18:16:27 PDT 2023
MaskRay added inline comments.
================
Comment at: clang/test/Frontend/split-lto-ir-support.cpp:1
+// RUN: %clang -c -flto=thin %s -o %t0.bc
+// RUN: mkdir %t1.d
----------------
Without -fsanitize=cfi or -fwhole-program-vtables, -fsplit-lto-unit is not the default. You need to specify this option explicitly.
`%clang` is normally used for test/Driver tests. For other tests, prefer `%clang_cc1`.
================
Comment at: clang/test/Frontend/split-lto-ir-support.cpp:15
+struct B : A {
+ virtual int c(int i) {
+ return i + 3;
----------------
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153906/new/
https://reviews.llvm.org/D153906
More information about the cfe-commits
mailing list