diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-03 09:46:11 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-03 09:46:11 +0100 |
| commit | 0b95d82b74c782ce38cb51f7f4b79c7b815c6403 (patch) | |
| tree | 2127fcdcef5724248ac38a39f7d03254a7821d87 /CompilerDriver | |
| parent | 5a76ab8976b63a7f27b244d31db0ee1ffdc53fde (diff) | |
c++kit: update kAsmFileExt macro to be kAsmFileExt64x0.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerDriver')
| -rw-r--r-- | CompilerDriver/cc.cxx | 2 | ||||
| -rw-r--r-- | CompilerDriver/ccplus.cxx | 2 | ||||
| -rw-r--r-- | CompilerDriver/masm.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/CompilerDriver/cc.cxx b/CompilerDriver/cc.cxx index 66a8294..03145ae 100644 --- a/CompilerDriver/cc.cxx +++ b/CompilerDriver/cc.cxx @@ -1642,7 +1642,7 @@ public: } /* According to pef abi. */ - dest += kAsmFileExt; + dest += kAsmFileExt64x0; kState.fOutputAssembly = std::make_unique<std::ofstream>(dest); diff --git a/CompilerDriver/ccplus.cxx b/CompilerDriver/ccplus.cxx index e028326..62ce4df 100644 --- a/CompilerDriver/ccplus.cxx +++ b/CompilerDriver/ccplus.cxx @@ -304,7 +304,7 @@ public: } /* According to pef abi. */ - dest += kAsmFileExt; + dest += kAsmFileExt64x0; kState.fOutputAssembly = std::make_unique<std::ofstream>(dest); diff --git a/CompilerDriver/masm.cxx b/CompilerDriver/masm.cxx index ed15bf3..71e806e 100644 --- a/CompilerDriver/masm.cxx +++ b/CompilerDriver/masm.cxx @@ -156,9 +156,9 @@ int main(int argc, char** argv) std::string object_output(argv[i]); - if (object_output.find(kAsmFileExt) != std::string::npos) + if (object_output.find(kAsmFileExt64x0) != std::string::npos) { - object_output.erase(object_output.find(kAsmFileExt), std::size(kAsmFileExt)); + object_output.erase(object_output.find(kAsmFileExt64x0), std::size(kAsmFileExt64x0)); } object_output += kObjectFileExt; |
