[PATCH] D87791: [CUDA][HIP] Fix -gsplit-dwarf option
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 17 11:30:08 PDT 2020
MaskRay added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:918
if (FinalOutput && Args.hasArg(options::OPT_c)) {
- SmallString<128> T(FinalOutput->getValue());
+ SmallString<128> T(llvm::sys::path::stem(FinalOutput->getValue()));
+ AddPostfix(T);
----------------
Does `stem` change the semantics?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87791/new/
https://reviews.llvm.org/D87791
More information about the cfe-commits
mailing list