OSDN Git Service
(root)
/
android-x86
/
external-llvm-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439d27d
)
[llvm-objdump] Delete unneeeded namespace llvm {}
author
Fangrui Song
<maskray@google.com>
Sun, 31 May 2020 01:03:43 +0000
(18:03 -0700)
committer
Fangrui Song
<maskray@google.com>
Sun, 31 May 2020 01:03:43 +0000
(18:03 -0700)
llvm/tools/llvm-objdump/llvm-objdump.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-objdump/llvm-objdump.cpp
b/llvm/tools/llvm-objdump/llvm-objdump.cpp
index
2416ffc
..
70ab0a1
100644
(file)
--- a/
llvm/tools/llvm-objdump/llvm-objdump.cpp
+++ b/
llvm/tools/llvm-objdump/llvm-objdump.cpp
@@
-386,8
+386,6
@@
static FilterResult checkSectionFilter(object::SectionRef S) {
/*IncrementIndex=*/true};
}
-namespace llvm {
-
SectionFilter objdump::ToolSectionFilter(object::ObjectFile const &O,
uint64_t *Idx) {
// Start at UINT64_MAX so that the first index returned after an increment is
@@
-2422,7
+2420,6
@@
static void dumpInput(StringRef file) {
else
reportError(errorCodeToError(object_error::invalid_file_type), file);
}
-} // namespace llvm
int main(int argc, char **argv) {
using namespace llvm;