Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions llvm/lib/TableGen/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ int llvm::TableGenMain(const char *argv0,

// Write output to memory.
Timer.startBackendTimer("Backend overall");
SmallString<128> FilenamePrefix(OutputFilename);
sys::path::replace_extension(FilenamePrefix, "");
SmallString<128> FilenamePrefix(sys::path::stem(OutputFilename));
TableGenOutputFiles OutFiles;
unsigned status = 0;
// ApplyCallback will return true if it did not apply any callback. In that
Expand Down
Loading