Yet seems Clang does not have such an option.
Is it ever possible using Clang? How?
Yet seems Clang does not have such an option.
Is it ever possible using Clang? How?
From: "Pavel Senatorov via cfe-dev" <cfe-dev@lists.llvm.org>
To: cfe-dev@lists.llvm.org
Sent: Sunday, October 30, 2016 2:17:14 AM
Subject: [cfe-dev] Wanna learn LLVM IR fast by compiling C++ tests into LLVM IR using ClangYet seems Clang does not have such an option.
Is it ever possible using Clang? How?
If you use -emit-llvm along with -S, then you'll get out the LLVM IR in text form.
-Hal