projects
/
mirror_edk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db48a1
)
PerformancePkg Dp_App: Handle "/" separator in debug path for GCC build
author
Star Zeng
<star.zeng@intel.com>
Wed, 15 Mar 2017 05:36:14 +0000
(13:36 +0800)
committer
Star Zeng
<star.zeng@intel.com>
Thu, 16 Mar 2017 03:08:44 +0000
(11:08 +0800)
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>
PerformancePkg/Dp_App/DpUtilities.c
patch
|
blob
|
blame
|
history
diff --git
a/PerformancePkg/Dp_App/DpUtilities.c
b/PerformancePkg/Dp_App/DpUtilities.c
index d5840e8d6f833b39da257720f2f96918ea41829b..d3a9b6eab3fa397cd9555f08e64ec7eea7e1c7dd 100644
(file)
--- a/
PerformancePkg/Dp_App/DpUtilities.c
+++ b/
PerformancePkg/Dp_App/DpUtilities.c
@@
-169,7
+169,7
@@
GetShortPdbFileName (
for (EndIndex = 0; PdbFileName[EndIndex] != 0; EndIndex++)
\r
;
\r
for (IndexA = 0; PdbFileName[IndexA] != 0; IndexA++) {
\r
- if (
PdbFileName[IndexA] == '\\'
) {
\r
+ if (
(PdbFileName[IndexA] == '\\') || (PdbFileName[IndexA] == '/')
) {
\r
StartIndex = IndexA + 1;
\r
}
\r
\r