rnk added inline comments.
Comment at: clang/lib/Driver/Distro.cpp:205
+const llvm::Triple &TargetOrHost) {
+ static Distro::DistroType Type = Distro::UninitializedDistro;
+
rnk wrote:
> aganea wrote:
> > I'm not sure if this
rnk added inline comments.
Comment at: clang/lib/Driver/Distro.cpp:205
+const llvm::Triple &TargetOrHost) {
+ static Distro::DistroType Type = Distro::UninitializedDistro;
+
aganea wrote:
> I'm not sure if this is safe. @rnk D
rnk added a comment.
Yeah, my goal is for the build system to be able to avoid having to embed PWD
into the compiler flags. For example, I believe it is a goal of the LLVM gn
build system for the build tree to be relocatable. If the compiler command
lines need to contain absolute paths to make
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm, thanks.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87701/new/
https://reviews.llvm.org/D87701
___
cfe-commits mailing list
cfe-commits@
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80409/new/
https://reviews.llvm.org/D80409
__
rnk added a comment.
Looks good, but we should test both sides of the MSVC behavior.
Comment at: clang/test/CodeGenCXX/mangle-ms-auto-templates.cpp:17
+ AutoParmTemplate<0> auto_int;
+ // CHECK: call {{.*}} @"??0?$AutoParmTemplate@$H0A@@@QAE@XZ"
+ AutoParmTemplate auto_bool;
rnk added inline comments.
Comment at: clang/lib/AST/MicrosoftMangle.cpp:383
+const NonTypeTemplateParmDecl *PD = nullptr,
+QualType *TemplateArgType = nullptr);
+ void mangleExpression(const Expr *E, const NonTypeTemplateP
rnk added inline comments.
Comment at: clang/lib/CodeGen/CoverageMappingGen.cpp:1334
+ llvm::SmallString<256> Path(Filename);
+ llvm::sys::fs::make_absolute(Path);
+ llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true);
keith wrote:
> rnk wrote:
> > Ple
rnk added inline comments.
Comment at: clang/include/clang/Driver/Options.td:1980
HelpText<"remap file source paths in debug info">;
+def fprofile_prefix_map_QA
+ : Joined<["-"], "fprofile-prefix-map=">, Group,
Any reason for the _QA suffix instead of _EQ?
This revision was automatically updated to reflect the committed changes.
Closed by commit rG672ed5386024: [codeview] Put !heapallocsite on calls to
operator new (authored by rnk).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80966/new/
https://rev
rnk updated this revision to Diff 267767.
rnk added a comment.
- revert lld change
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80966/new/
https://reviews.llvm.org/D80966
Files:
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
rnk created this revision.
rnk added a reviewer: akhuang.
Herald added a reviewer: MaskRay.
Herald added a project: clang.
rnk updated this revision to Diff 267767.
rnk added a comment.
- revert lld change
Clang marks calls to operator new as heap allocation sites, but the
operator declared at g
rnk added a comment.
This seems wrong for mingw, so check with @mstorsjo.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80876/new/
https://reviews.llvm.org/D80876
___
cfe-commits mailing list
cfe-commi
rnk added inline comments.
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:5610
+ if (Args.hasFlag(options::OPT_fpch_instantiate_templates,
+ options::OPT_fno_pch_instantiate_templates, false))
+CmdArgs.push_back("-fpch-instantiate-templates");
--
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
IMO there is a pretty clear performance use case for this mode of operation,
and it seems to me that you have addressed @rsmith's feedback. Please wait a
few days to see if he has more to add,
rnk added a comment.
After looking at the code more, I'm more convinced that your fix is in the
right place.
Comment at: clang/lib/AST/MicrosoftMangle.cpp:954
if ((isa(LambdaContextDecl) ||
- isa(LambdaContextDecl)) &&
-LambdaContex
rnk added inline comments.
Comment at: cfe/trunk/lib/Frontend/CompilerInvocation.cpp:3457
+ if (Diags.isIgnored(diag::warn_profile_data_misexpect, SourceLocation()))
+Res.FrontendOpts.LLVMArgs.push_back("-pgo-warn-misexpect");
+
Clang generally tries to avoi
rnk added a comment.
Personally, I support this. I never liked the magic `ld.` prefixing. If we want
a way to select a proprietary linker, it seems reasonable to ask the user to
name the complete binary basename (`ld.lld`, `lld`, `ld64`, `myld`, etc). The
driver shouldn't force the linker to us
18 matches
Mail list logo