DebugPackage 資訊

回報問題 查看原始碼 夜間 7.2 7.1 7.0 6.5 6.4 如果啟用壓縮功能,提供二進位檔案及其相關 .dwp 檔案的供應器。如果未啟用 Fission ({@url https://gcc.gnu.org/wiki/DebugFission}),dwp 檔案就會是空值。

成員

DebugPackageInfo

DebugPackageInfo DebugPackageInfo(target_label, stripped_file=None, unstripped_file, dwp_file=None)

DebugPackageInfo 建構函式。

參數

參數 說明
target_label 標籤; 必要
*_binary 目標的標籤
stripped_file File;或 None; 預設值為 None
移除的檔案 (明確的「.stripped」目標)
unstripped_file File; 必要
未移除的檔案 (預設的執行檔目標)。
dwp_file File;或 None; 預設值為 None
.dwp 檔案 (適用於 fission 版本) 或空值 (--fission=no)。

dwp_file

File DebugPackageInfo.dwp_file

傳回 .dwp 檔案 (適用於 Fission 版本),若為 --fission=no,則傳回空值。 可能會傳回 None

stripped_file

File DebugPackageInfo.stripped_file

傳回去除的檔案 (明確的「.stripped」目標)。 可能會傳回 None

target_label

Label DebugPackageInfo.target_label

傳回 *_binary 目標的標籤

unstripped_file

File DebugPackageInfo.unstripped_file

傳回未移除的檔案 (預設的執行檔目標)