diff options
author | Star Zeng <star.zeng@intel.com> | 2017-03-15 13:36:14 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2017-03-16 11:08:44 +0800 |
commit | 206a1f1fc217f6e0281a48ce0266a075d8a42827 (patch) | |
tree | ce0d6c369f48085e6b3dd0d8f18bdba572ce8a7b | |
parent | 2db48a1ff4e97b084a65690ae8a8d162247e2269 (diff) | |
download | edk2-platforms-206a1f1fc217f6e0281a48ce0266a075d8a42827.tar.xz |
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>
-rw-r--r-- | PerformancePkg/Dp_App/DpUtilities.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PerformancePkg/Dp_App/DpUtilities.c b/PerformancePkg/Dp_App/DpUtilities.c index d5840e8d6f..d3a9b6eab3 100644 --- a/PerformancePkg/Dp_App/DpUtilities.c +++ b/PerformancePkg/Dp_App/DpUtilities.c @@ -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;
}
|