mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
Revert "Improve prologue handling to support functions with multiple entry points."
This reverts commit r327318. It breaks the Xcode and CMake Darwin builders: clang: error: no such file or directory: '.../source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp' clang: error: no input files More details are in https://reviews.llvm.org/D42582. llvm-svn: 327327
This commit is contained in:
@@ -12,13 +12,11 @@
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Target/ThreadPlanStepInRange.h"
|
||||
#include "lldb/Core/Architecture.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/RegisterContext.h"
|
||||
#include "lldb/Target/SectionLoadList.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Target/ThreadPlanStepOut.h"
|
||||
@@ -279,17 +277,6 @@ bool ThreadPlanStepInRange::ShouldStop(Event *event_ptr) {
|
||||
bytes_to_skip = sc.symbol->GetPrologueByteSize();
|
||||
}
|
||||
|
||||
if (bytes_to_skip == 0 && sc.symbol) {
|
||||
TargetSP target = m_thread.CalculateTarget();
|
||||
Architecture *arch = target->GetArchitecturePlugin();
|
||||
if (arch) {
|
||||
Address curr_sec_addr;
|
||||
target->GetSectionLoadList().ResolveLoadAddress(curr_addr,
|
||||
curr_sec_addr);
|
||||
bytes_to_skip = arch->GetBytesToSkip(*sc.symbol, curr_sec_addr);
|
||||
}
|
||||
}
|
||||
|
||||
if (bytes_to_skip != 0) {
|
||||
func_start_address.Slide(bytes_to_skip);
|
||||
log = lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_STEP);
|
||||
|
||||
Reference in New Issue
Block a user