Skip to content

Commit

Permalink
edis: Sink EDMain.cpp into lib/MC/MCDisassembler.
Browse files Browse the repository at this point in the history
 - This fixes some layering violations and matches how we handle the llvm-c lib,
   for example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145338 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ddunbar committed Nov 29, 2011
1 parent 36e1ac7 commit 5a93995
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 66 deletions.
10 changes: 4 additions & 6 deletions tools/edis/EDMain.cpp → lib/MC/MCDisassembler/EDMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
//
//===----------------------------------------------------------------------===//

// FIXME: This code isn't layered right, the headers should be moved to
// include llvm/MC/MCDisassembler or something.
#include "../../lib/MC/MCDisassembler/EDDisassembler.h"
#include "../../lib/MC/MCDisassembler/EDInst.h"
#include "../../lib/MC/MCDisassembler/EDOperand.h"
#include "../../lib/MC/MCDisassembler/EDToken.h"
#include "EDDisassembler.h"
#include "EDInst.h"
#include "EDOperand.h"
#include "EDToken.h"
#include "llvm-c/EnhancedDisassembly.h"
using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ add_subdirectory(bugpoint)
add_subdirectory(bugpoint-passes)
add_subdirectory(llvm-bcanalyzer)
add_subdirectory(llvm-stub)
add_subdirectory(edis)

if( NOT WIN32 )
add_subdirectory(lto)
Expand Down
8 changes: 0 additions & 8 deletions tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ ifeq ($(ENABLE_PIC),1)
endif

PARALLEL_DIRS += bugpoint-passes

# The edis library is only supported if ARM and/or X86 are enabled, and if
# LLVM is being built PIC on platforms that support dylibs.
ifneq ($(DISABLE_EDIS),1)
ifneq ($(filter $(TARGETS_TO_BUILD), X86 ARM),)
PARALLEL_DIRS += edis
endif
endif
endif

ifdef LLVM_HAS_POLLY
Expand Down
21 changes: 0 additions & 21 deletions tools/edis/CMakeLists.txt

This file was deleted.

30 changes: 0 additions & 30 deletions tools/edis/Makefile

This file was deleted.

0 comments on commit 5a93995

Please sign in to comment.