mirror of https://github.com/acidanthera/audk.git
PerformancePkg Dp_App: Handle "/" separator in debug path for GCC build
Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
2db48a1ff4
commit
206a1f1fc2
|
@ -169,7 +169,7 @@ GetShortPdbFileName (
|
|||
for (EndIndex = 0; PdbFileName[EndIndex] != 0; EndIndex++)
|
||||
;
|
||||
for (IndexA = 0; PdbFileName[IndexA] != 0; IndexA++) {
|
||||
if (PdbFileName[IndexA] == '\\') {
|
||||
if ((PdbFileName[IndexA] == '\\') || (PdbFileName[IndexA] == '/')) {
|
||||
StartIndex = IndexA + 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue