Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
26d5bc7f
Commit
26d5bc7f
authored
12 years ago
by
Evgeniy Stepanov
Browse files
Options
Downloads
Patches
Plain Diff
[msan] Use sptr instead of ptrdiff_t.
llvm-svn: 176854
parent
ba56c8d4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler-rt/lib/msan/msan_linux.cc
+1
-1
1 addition, 1 deletion
compiler-rt/lib/msan/msan_linux.cc
with
1 addition
and
1 deletion
compiler-rt/lib/msan/msan_linux.cc
+
1
−
1
View file @
26d5bc7f
...
@@ -110,7 +110,7 @@ void UnpoisonMappedDSO(link_map *map) {
...
@@ -110,7 +110,7 @@ void UnpoisonMappedDSO(link_map *map) {
}
}
// Compute the delta from the real base to get a relocation delta.
// Compute the delta from the real base to get a relocation delta.
ptr
diff_t
delta
=
(
uptr
)
base
-
preferred_base
;
s
ptr
delta
=
(
uptr
)
base
-
preferred_base
;
// Now we can figure out what the loader really mapped.
// Now we can figure out what the loader really mapped.
for
(
char
*
iter
=
phdrs
;
iter
!=
phdrs_end
;
iter
+=
ehdr
->
e_phentsize
)
{
for
(
char
*
iter
=
phdrs
;
iter
!=
phdrs_end
;
iter
+=
ehdr
->
e_phentsize
)
{
Elf_Phdr
*
phdr
=
(
Elf_Phdr
*
)
iter
;
Elf_Phdr
*
phdr
=
(
Elf_Phdr
*
)
iter
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment