16 lines
356 B
C++
16 lines
356 B
C++
/** Ensures there is no "hole" between two consecutive PC ranges, to optimize
|
|
* generated code size. */
|
|
|
|
#pragma once
|
|
|
|
#include "SimpleDwarf.hpp"
|
|
#include "SimpleDwarfFilter.hpp"
|
|
|
|
class PcHoleFiller: public SimpleDwarfFilter {
|
|
public:
|
|
PcHoleFiller(bool enable=true);
|
|
|
|
private:
|
|
SimpleDwarf do_apply(const SimpleDwarf& dw) const;
|
|
};
|