We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad20628 commit af92eaeCopy full SHA for af92eae
llvm/lib/TableGen/Main.cpp
@@ -167,8 +167,7 @@ int llvm::TableGenMain(const char *argv0,
167
168
// Write output to memory.
169
Timer.startBackendTimer("Backend overall");
170
- SmallString<128> FilenamePrefix(OutputFilename);
171
- sys::path::replace_extension(FilenamePrefix, "");
+ SmallString<128> FilenamePrefix(sys::path::stem(OutputFilename));
172
TableGenOutputFiles OutFiles;
173
unsigned status = 0;
174
// ApplyCallback will return true if it did not apply any callback. In that
0 commit comments